3 ms·
> The userland behavior of POSIX is separate from the C API. Yes, the C API is specified in IEEE 1003.1 volume 2 ("System Interfaces", abbreviated as "XSH"), a
by LukeShu 6y ago
> The userland behavior of POSIX is separate from the C API.
Yes, the C API is specified in IEEE 1003.1 volume 2 ("System Interfaces", abbreviated as "XSH"), and since 2001 the userland behavior is specified in IEEE 1003.1 volume 3 ("Shell and Utilities", abbreviated as "XCU").
(Volume 1 is "Base Definitions"/"XBD" and volume 4 is "Rationale"/"XRAT").
> the only way to specifically address the userland is with "POSIX.2"
The way to specifically address the shell and utilities is to refer to the volume within POSIX.1; you can do this by number ("Volume 3"), by name ("the Shell and Utilities volume"), or by abbreviation ("XCU").
> If there is a better way to say it, then the wiki should be updated.
Yes it should. Which wiki are you referring to?
- chasil 6y agoThis is the wiki section that isolates the shell & utilities best: https://en.wikipedia.org/wiki/POSIX#Parts_before_1997 https://en.wikipedia.org/wiki/POSIX#Parts_before_1997 In all the others, it is combined with the C API, and other OS standards.
- LukeShu 6y agoYes, that section of the article is discussing historical POSIX prior to 1997. The next section discusses the forming of the Austin Group and from then on only talks about 1003.1. The only place that article uses the phrase "POSIX.2" is to refer to the historical 1003.2-1992 (that "1992" is a year, if that's not clear).