C POSIX library

From Wikipedia, the free encyclopedia
Jump to: navigation, search

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[edit]

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]


Further reading[edit]