Jump to content

C POSIX library

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Addbot (talk | contribs) at 05:53, 16 March 2013 (Bot: Migrating 2 interwiki links, now provided by Wikidata on d:q4035705). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

Header File Description
<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.

[verification needed]

References

  • Gallmeister, Bill (January 1, 1995), POSIX.4 Programmers Guide: Programming for the Real World (1st ed.), O'Reilly Media, p. 564, ISBN 1-56592-074-0