POSIX itself is a set of standards which define the APIs but isn’t itself an implementation
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
POSIX is a standard, or rather a whole series of standards. It also covers things like the shell and shell utilities, and the semantics of various kernel services, as well as the C libraries. These days you might want to look up SUS (Single Unix Specification) too.
https://en.wikipedia.org/wiki/Single_UNIX_Specification
https://en.wikipedia.org/wiki/POSIX
POSIX specifies the API available to programs, and also shell and commands and stuff available to users. It does not specify which functions should be available from the standard C library, and which should be available from the kernel: from the standpoint of POSIX, it's all the same. POSIX doesn't care how the API is implemented, just that it is implemented correctly.
It's more or less a standard that describes how UNIX compatible OSes are supposed to work. That includes the APIs/ABIs as well.
At least that is how I understand it.
its a way for scripts or program to be portable and compatible.