Visit Our UNIX and Linux User Community


help!!!


 
Thread Tools Search this Thread
Top Forums Programming help!!!
# 1  
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
# 2  
Old 07-31-2001
hey,

btw,
unistd.h
termio.h

is not an ANSI standard AFAIK. so you could not expect them to exist in environment other than unix.

to compile you would better use the 32 bit compiler, like VisualC++.

Use the Win32 APIs to implement feature that is unix specific.
BTW it is better to write a program that uses ANSI standard.
It is more portable.

qodoc
# 3  
Old 08-03-2001
yea

Previous Thread | Next Thread
Test Your Knowledge in Computers #405
Difficulty: Medium
Cygwin consists of three parts: a dynamic-link library (DLL) as an API compatibility layer in the form of a C standard library providing a substantial part of the POSIX API functionality, an extensive collection of software tools and applications that provide a Unix-like look and feel, and an MOTIF-based window manager.
True or False?

Featured Tech Videos