From owner-cvs-include Tue Apr 1 05:46:53 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA01973 for cvs-include-outgoing; Tue, 1 Apr 1997 05:46:53 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA01961; Tue, 1 Apr 1997 05:46:07 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id XAA23051; Tue, 1 Apr 1997 23:38:12 +1000 Date: Tue, 1 Apr 1997 23:38:12 +1000 From: Bruce Evans Message-Id: <199704011338.XAA23051@godzilla.zeta.org.au> To: bde@zeta.org.au, jb@cimlogic.com.au Subject: Re: cvs commit: src/include unistd.h Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-include@freefall.freebsd.org, peter@freefall.freebsd.org, peter@spinner.dialix.com Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >>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