C POSIX library: Difference between revisions
Appearance
Content deleted Content added
In my understanding, it's a specification not an implementation. I delete what I consider doubtful and confuse, I hope for experts to rewrite it. |
My understanding is POSIX is kind of like a superset of C: extra functions and restrictions specified |
||
Line 1: | Line 1: | ||
{{C POSIX library}} |
{{C POSIX library}} |
||
The '''C POSIX library''' is a specification of a [[C standard library]] for [[POSIX]] systems. It was developed at the same time as the [[ANSI C]] standard. Some effort was made to make |
The '''C POSIX library''' is a specification of a [[C standard library]] for [[POSIX]] systems. It was developed at the same time as the [[ANSI C]] standard. Some effort was made to make POSIX compatible with [[standard C]]; POSIX includes additional functions to those introduced in standard C. |
||
== C POSIX library header files == |
== C POSIX library header files == |
Revision as of 10:31, 28 November 2011
C POSIX library |
---|
|
The C POSIX library is a specification of a C standard library for POSIX systems. It was developed at the same time as the ANSI C standard. Some effort was made to make POSIX compatible with standard C; POSIX includes additional functions to those introduced in standard C.
C POSIX library header files
<cpio.h> | Magic numbers for the cpio archive format. |
<dirent.h> | Allows the opening and listing of directories. |
<fcntl.h> | File opening, locking and other operations. |
<grp.h> | User group information and control. |
<pthread.h> | Defines an API for creating and manipulating POSIX threads. |
<pwd.h> | passwd (user information) access and control. |
<sys/ipc.h> | Inter-process communication (IPC). |
<sys/msg.h> | POSIX message queues. |
<sys/sem.h> | POSIX semaphores. |
<sys/stat.h> | File information (stat et al.). |
<sys/time.h> | Time and date functions and structures. |
<sys/types.h> | Various data types used elsewhere. |
<sys/utsname.h> | uname and related structures. |
<sys/wait.h> | Status of terminated child processes (see wait) |
<tar.h> | Magic numbers for the tar archive format. |
<termios.h> | Allows terminal I/O interfaces. |
<unistd.h> | Various essential POSIX functions and constants. |
<utime.h> | inode access and modification times. |
References
- Official List of headers in the POSIX library on opengroup.org
- Lists headers in the POSIX library
- Description of the posix library from the Flux OSKit
Bibliography
- Gallmeister, Bill (January 1, 1995), POSIX.4 Programmers Guide: Programming for the Real World (1st ed.), O'Reilly Media, p. 564, ISBN 1565920740