Date: Tue, 1 Apr 1997 23:38:12 +1000 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, jb@cimlogic.com.au Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-include@freefall.freebsd.org, peter@freefall.freebsd.org, peter@spinner.dialix.com Subject: Re: cvs commit: src/include unistd.h Message-ID: <199704011338.XAA23051@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>>From my reading of POSIX 1003.1b, I'd expect to see things like: > >#if (!defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) && > !defined(_POSIX_C_SOURCE)) || (_POSIX_C_SOURCE >= 199309L) >int nanosleep __P((const struct timespec *, struct timespec *)); >#endif This seems like a good reason to not support POSIX.1b :-). >I thought all the C API stuff was in 1003.1, so where does the >glibc-2.0 get the _POSIX_C_SOURCE >= 2 from? > >Maybe I'm confused 'cause I've never seen POSIX.2. 8-) It's in the POSIX.2 draft that I have. BTW, I looked for POSIX books at some web book suppliers the other day. They didn't have much. IIRC, DA in Victoria has POSIX.2 for a measly A$296 and Amazon has it for US$98. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704011338.XAA23051>