comment on 02-Nov-1998 draft (unistd.h)
Hi
I enclose a comment on the 02-Nov-1998 online draft
regards
Andrew
---------------------------------------
File: <unistd.h>
URL: http://www.linuxbase.org/spec/spec/chap0665.html
Problem:
The spec seems to point to the wrong value for the POSIX standard
for both POSIX.1 and POSIX.2.
I think you are targetting to comply with the latest POSIX.1 revision
that is the 1996 version which includes Threads. I year value for the
POSIX-2 Version is wrong.
Thus, the value of _POSIX_C_SOURCE, _POSIX_VERSION and _POSIX2_C_VERSION
need correcting as follows:
Action:
Change "#define _POSIX_C_SOURCE 199309L" to "#define _POSIX_C_SOURCE 199506L"
Change "#define POSIX_VERSION 199309L" to "#define _POSIX_VERSION 199506L"
Change "#define _POSIX2_C_VERSION 199912L" to "#define _POSIX2_C_VERSION
199209L"
-----
Andrew Josey The Open Group
Base WG Chair Apex Plaza,Forbury Road,
Email: a.josey@opengroup.org Reading,Berks.RG1 1AX,England
Tel: +44 118 9508311 ext 2250 Fax: +44 118 9500110
Reply to: