POSIX
Portable Operating System Interface standard, which defines the interface specifications that an operating system should provide.
Core Facts
Timeline (last 90 days)
struct dirent is a structure in the POSIX standard used to represent a directory entry, usually filled and returned by the readdir function, and contains at least members such as d_name (file name) and d_ino (inode number).
POSIX interfaces are essentially wrappers around system calls; for example, fopen in glibc ultimately calls the open system call.
Linux, macOS, and most Unix systems follow the POSIX standard, so programs written in C that call functions such as open, read, write, and stat can maintain good portability across these systems.
POSIX rename(2) can only be completed atomically within the same file system, and returns EXDEV across mount points; the correct approach is to fall back to copying to a temporary file at the destination + fsync + rename + deleting the source.
After August 30, nothing has changed technically in macOS; POSIX compatibility, the underlying architecture and the command-line tools all remain as before.
XNU's BSD subsystem derives directly from FreeBSD, providing POSIX system calls, the process model and the network stack.
macOS long held POSIX certification, and its BSD-derived toolchain and XNU kernel provide POSIX-compliant interfaces, so even after losing the UNIX trademark it remains a POSIX-compatible system.
The POSIX standard and UNIX trademark certification are two separate systems: the former is a technical specification, the latter a commercial trademark license.
The POSIX standard is developed by IEEE and defines a set of APIs, command-line tools and runtime behaviors that an operating system must provide, with the goal of making source code portable across different systems.
If a process group becomes an orphaned group and a member of it is in a stopped state, POSIX specifies that the system sends SIGHUP and SIGCONT to all members of that group.
9 more timeline events
All Facts (20)
The POSIX standard is developed by IEEE and defines a set of APIs, command-line tools and runtime behaviors that an operating system must provide, with the goal of making source code portable across different systems.
65%Unverifiedstruct dirent is a structure in the POSIX standard used to represent a directory entry, usually filled and returned by the readdir function, and contains at least members such as d_name (file name) and d_ino (inode number).
50%UnverifiedPOSIX interfaces are essentially wrappers around system calls; for example, fopen in glibc ultimately calls the open system call.
50%UnverifiedLinux, macOS, and most Unix systems follow the POSIX standard, so programs written in C that call functions such as open, read, write, and stat can maintain good portability across these systems.
50%UnverifiedPOSIX rename(2) can only be completed atomically within the same file system, and returns EXDEV across mount points; the correct approach is to fall back to copying to a temporary file at the destination + fsync + rename + deleting the source.
50%UnverifiedXNU's BSD subsystem derives directly from FreeBSD, providing POSIX system calls, the process model and the network stack.
50%UnverifiedmacOS long held POSIX certification, and its BSD-derived toolchain and XNU kernel provide POSIX-compliant interfaces, so even after losing the UNIX trademark it remains a POSIX-compatible system.
50%UnverifiedThe POSIX standard and UNIX trademark certification are two separate systems: the former is a technical specification, the latter a commercial trademark license.
50%UnverifiedAfter August 30, nothing has changed technically in macOS; POSIX compatibility, the underlying architecture and the command-line tools all remain as before.
50%UnverifiedIf a process group becomes an orphaned group and a member of it is in a stopped state, POSIX specifies that the system sends SIGHUP and SIGCONT to all members of that group.
50%Unverifiedfsync is a POSIX system call that forces filesystem buffer data to be flushed to physical storage, ensuring that bytes already written are not lost if the process crashes or power fails.
50%Unverified/dev/null is a special device file defined by the POSIX standard, with major device number 1 and minor device number 3, and permissions typically crw-rw-rw-.
50%UnverifiedFunctions such as strtok and localtime are not thread-safe, and POSIX provides separate _r versions.
50%UnverifiedWine (Wine Is Not an Emulator) was born in 1993 and is a compatibility layer that reimplements Windows API calls as POSIX-compliant calls, rather than a virtual machine or emulator.
50%UnverifiedBoth basename and dirname come from the POSIX standard and can be used on Unix-like systems such as Linux, macOS, and BSD.
50%Unverifiednl originates from Unix System V and has a formal specification in the POSIX standard.
50%UnverifiedThe POSIX standard, developed by IEEE, defines a set of standard APIs that operating systems should provide, and all of these APIs are specified in the form of C language interfaces.
50%UnverifiedHaiku is not compatible with the POSIX standard, adopts a completely independent kernel architecture, and follows the native API design of BeOS.
50%UnverifiedHaiku adopts a completely independent kernel architecture, is not compatible with the POSIX standard, and instead follows BeOS's native API design.
50%UnverifiedThe POSIX fork() system call requires copying the entire process address space, which cannot be implemented in the browser's security sandbox.
50%