Linux newbie: Linux vs POSIX manual

$ apropos mkfifo
mkfifo (1)           - make FIFOs (named pipes)
mkfifo (1posix)      - make FIFO special files
mkfifo (3)           - make a FIFO special file (a named pipe)
mkfifo (3posix)      - make a FIFO special file
mkfifoat (3)         - make a FIFO (named pipe) relative to a directory file ...

So, I have man pages for a guide for Linux programmers and a guide for POSIX programmers. What should I prefer and why? (I am writing a Linux application, I do not plan its port AIX, BSD, etc.)

Thanks.

+3
source share
2 answers

Basically, Linux manuals are documentation of commands / APIs from their authors; POSIX manuals are taken from the POSIX standard. Usually the “normal” ones are shorter and shorter, but deal with a specific implementation; POSIX is longer and more detailed (see man 3p read), but just tell us what is in the standard.

It is best to look at both.

+10
source

[] AIX, BSD ..

:-) , .

, Linux Opengroup ( POSIX), , . 7, (~ 2011).

, POSIX, . , , POSIX. POSIX Standard ( 7) .

+2

Source: https://habr.com/ru/post/1702230/


All Articles