Sponsored Content
Full Discussion: help!!!
Top Forums Programming help!!! Post 4072 by shadowplay on Wednesday 18th of July 2001 03:33:02 AM
Old 07-18-2001
Question help!!!

Hello everbody!
I have problem about changing C code to MS NT environment.
This code has some libraries such as;

unistd.h
termio.h
sys/ioctl.h
and has
#define TLMNAME "dev/t1000"
statement

What are the equivalents of these libraries and this statement
in MSDOS (NT) environment

what can i use except these to compile program in Turbo C for NT

Thanks
 
stty(2) 							System Calls Manual							   stty(2)

NAME
stty(), gtty() - control terminal device (Bell Version 6 compatibility) SYNOPSIS
Remarks These system calls are preserved for backward compatibility with Bell Version 6. They provide as close an approximation as possible to the old Version 6 functions. All new code should use the and calls described in termio(7). DESCRIPTION
For certain status settings and status inquiries about terminal devices, the functions and are equivalent to and respectively (see ioctl(2) and termio(7). RETURN VALUE
and return the following values: Successful completion. Failure. is set to indicate the error. ERRORS
If or fails, is set to one of the following values: [EBADF] is not a valid file descriptor. [EFAULT] points to an invalid address. WARNINGS
Obsolescent Interfaces and are to be obsoleted at a future date. SEE ALSO
stty(1), exec(2), ioctl(2), sttyV6(7), termio(7), tty(7). TO BE OBSOLETED stty(2)
All times are GMT -4. The time now is 09:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy