Sujet : Re: encapsulating directory operations
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 23. May 2025, 05:27:15
Autres entêtes
Organisation : None to speak of
Message-ID : <87r00gt0ik.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Gnus/5.13 (Gnus v5.13)
Kaz Kylheku <
643-408-1753@kylheku.com> writes:
[...]
POSIX is a language extension; it extends the Library clause of ISO C
with a myriad of new header files, functions, types and macros.
>
We can meaningfully talk about a language called "POSIX C",
distinct from ISO C due to (1) a richer Library clause and (2)
certain requirements in POSIX which override certain implementation
liberties in ISO C. E.g. I (may be wrong but I) think that POSIX doesn't
allow int to be 16 bits wide. In other words, POSIX actually has
some language-level requirements in regard to C.
Yes, the current edition of POSIX requires INT_MAX to be at least
2147483647, and CHAR_BIT to be exactly 8.
Library and Language are inseparable.
Depends on what you mean by "inseparable", I suppose. POSIX is unusual
in its chumminess with the language.
[...]
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */