tags:

views:

60

answers:

2
hi....
how can i use POSIX header files in system programming?
i used  <unistd.h> in C. what are other header files i can used?
+4  A: 

POSIX is a standard implemented by Unix-like systems to give code portability between similar systems. You include their headers like you do any other C header. These headers should be available in the libraries on your Unix-like machine. You can then have access to the data structures in them.

Here is a (partial?) list of POSIX headers: http://en.wikipedia.org/wiki/C_POSIX_library

Hopefully this helps. Your question is very poorly worded.

San Jacinto
+2  A: 

Two good resources for calling system functions in Unix are the Unix Version 3 Standard and the Unix Version 2 Standard. I use them routinely for writing portable code.

Steve Emmerson