Skip to content
EntityQ2065456· pop 7· linked from 13 articles

In the C and C++ programming languages, is the name of the header file that provides access to the POSIX operating system API. It is defined by the POSIX.1 standard, the base of the Single Unix Specification, and should therefore be available in any POSIX-compliant operating system and compiler. For instance, this includes Unix and Unix-like operating systems, such as GNU variants, distributions of Linux and BSD, and macOS, and compilers such as GCC and LLVM.

Wikidata facts

Sources (1)

via Wikidata · CC0

~4 min read

Encyclopedic overview

3 sections
Contents
  • Overview of functions
  • References
  • External links

In the C and C++ programming languages, is the name of the header file that provides access to the POSIX operating system API. It is defined by the POSIX.1 standard, the base of the Single Unix Specification, and should therefore be available in any POSIX-compliant operating system and compiler. For instance, this includes Unix and Unix-like operating systems, such as GNU variants, distributions of Linux and BSD, and macOS, and compilers such as GCC and LLVM.

On Unix-like systems, the interface defined by is typically made up largely of system call wrapper functions such as fork, pipe and I/O primitives (read, write, close, etc.).

Excerpted from Wikipedia’s “unistd.h” article, available under the CC BY-SA 4.0 licence.

Available in 7 languages

via Wikidata sitelinks · CC0