POSIX is just an API between programs and the kernel?

Just confirming

26 points · 6 comments · view on lemmy.world

6 Comments

breadsmasher@lemmy.world · 26 pts · 3y

POSIX itself is a set of standards which define the APIs but isn’t itself an implementation

fubo@lemmy.world · 18 pts · 3y

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

vrt3@feddit.nl · 16 pts · 3y

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.

elmicha@feddit.de · 4 pts · 3y
0x4E4F@lemmy.rollenspiel.monster · 4 pts · 3y

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.

wanghis_khan@lemmy.ml · 0 pts · 3y

its a way for scripts or program to be portable and compatible.