Skip to content
Surf Wiki
Save to docs
general/c-posix-library

From Surf Wiki (app.surf) — the open knowledge base

C POSIX library

C language standard library specifically for POSIX systems


C language standard library specifically for POSIX systems

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. On the other hand, the 5 headers that were added to the C standard library with C11, were not likewise included in subsequent revisions of POSIX.

It may be included in any C++ project, however the C++ standard library may have its own implementation of certain features, such as rather than, rather than, or rather than.

C POSIX library header files

Header fileDescriptionFirst releasedC Standard
****Asynchronous input and outputIssue 5
****Functions for manipulating numeric IP addresses (part of Berkeley sockets)Issue 6
****Verify assumptionsIssue 1ANSI (89)
****Complex Arithmetic, see C mathematical functionsIssue 6C99
****Magic numbers for the cpio archive formatIssue 3
****Character typesIssue 1ANSI (89)
****Device controlIssue 8
****Allows the opening and listing of directoriesIssue 2
****Dynamic linkingIssue 5
****Retrieving Error NumberIssue 1ANSI (89)
****Endianness operationsIssue 8
****File opening, locking and other operationsIssue 1
****Floating-Point Environment (FPE), see C mathematical functionsIssue 6C99
****Floating-point types, see C data typesIssue 4ANSI (89)
****Message display structuresIssue 4
****Filename matchingIssue 4
****File tree traversalIssue 1
****Pathname "globbing" (pattern-matching)Issue 4
****User group information and controlIssue 1
****Codeset conversion facilityIssue 4
****Fixed sized integer types, see C data typesIssue 5C99
****Alternative spellings, see C alternative tokensIssue 5NA1 (95)
****Language information constants – builds on C localization functionsIssue 2
****Pathname manipulationIssue 4
****InternationalizationIssue 8
****Implementation-defined constants, see C data typesIssue 1ANSI (89)
****Category macros, see C localization functionsIssue 3ANSI (89)
****Mathematical declarations, see C mathematical functionsIssue 1ANSI (89)
****String formatting of monetary unitsIssue 4
****Message queueIssue 5
****NDBM database operationsIssue 4
****Listing of local network interfacesIssue 6
****Translating protocol and host names into numeric addresses (part of Berkeley sockets)Issue 6
****Defines Internet protocol and address family (part of Berkeley sockets)Issue 6
****Additional TCP control options (part of Berkeley sockets)Issue 6
****Localization message catalog functionsIssue 2
****Asynchronous file descriptor multiplexingIssue 4
****Defines an API for creating and manipulating POSIX threadsIssue 5
****passwd (user information) access and controlIssue 1
regex****Regular expression matchingIssue 4
****Execution schedulingIssue 5
****Search tablesIssue 1
****POSIX semaphoresIssue 5
****Stack environment declarationsIssue 1ANSI (89)
****Signals, see C signal handlingIssue 1ANSI (89)
****Process spawningIssue 6
****Alignment macrosIssue 8C11
****Handle Variable Argument ListIssue 4ANSI (89)
****Atomic operationsIssue 8C11
****Boolean type and values, see C data typesIssue 6C99
****Standard type definitions, see C data typesIssue 4ANSI (89)
****Integer types, see C data typesIssue 6C99
****Standard buffered input/output, see C file input/outputIssue 1ANSI (89)
****Standard library definitions, see C standard libraryIssue 3ANSI (89)
****The `noreturn` macroIssue 8C11
****Several String Operations, see C string handlingIssue 1ANSI (89)
****Case-insensitive string comparisonsIssue 4
****Stream manipulation, including ioctlIssue 4
****Inter-process communication (IPC)Issue 2
****Memory management, including POSIX shared memory and memory mapped filesIssue 4
****POSIX message queuesIssue 2
****Resource usage, priorities, and limitingIssue 4
****Synchronous I/O multiplexingIssue 6
****XSI (SysV style) semaphoresIssue 2
****XSI (SysV style) shared memoryIssue 2
****Main Berkeley sockets headerIssue 6
****File information (stat et al.)Issue 1
****File System informationIssue 4
****Time and date functions and structuresIssue 4
****File access and modification timesIssue 1
****Various data types used elsewhereIssue 1
****Vectored I/O operationsIssue 4
****Unix domain socketsIssue 6
****Operating system information, including unameIssue 1
****Status of terminated child processes (see wait)Issue 3
****System error loggingIssue 4
****Magic numbers for the tar archive formatIssue 3
****Allows terminal I/O interfacesIssue 3
****Type-Generic Macros, see C mathematical functionsIssue 6C99
****ISO C threadsIssue 8C11
****Type-Generic Macros, see C date and time functionsIssue 1ANSI (89)
****Tracing of runtime behavior (DEPRECATED)Issue 6
****manipulate user context (REMOVED in POSIX.1-2008)
****Resource limiting (DEPRECATED in favor of )Issue 1
****Various essential POSIX functions and constantsIssue 1
****inode access and modification timesIssue 3
****User accounting database functionsIssue 4
****Wide-Character Handling, see C string handlingIssue 4NA1 (95)
****Wide-Character Classification and Mapping Utilities, see C character classificationIssue 5NA1 (95)
****Word-expansion like the shell would performIssue 4

References

Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about C POSIX library — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report