Date: Fri, 25 Feb 2005 06:35:04 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Robert Watson <rwatson@freebsd.org> Cc: freebsd-bugs@freebsd.org Subject: Re: bin/78021: sem_open(3) doesn't mention fnctl.h include Message-ID: <20050225061410.K152@delplex.bde.org> In-Reply-To: <200502241450.j1OEoZ0d059972@freefall.freebsd.org> References: <200502241450.j1OEoZ0d059972@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Feb 2005, Robert Watson wrote: > Subject: Re: bin/78021: sem_open(3) doesn't mention fnctl.h include > > Just as a follow-up: stat.h is also needed for the S_IW* flags argument, > and the example included is a poor copy-and-paste, the S_IW* flags > argument is needed before the final 0 in a call to sem_open(). Neither of these is needed in the synopsis. The synopsis should document minimal requirements for using the functions, not all uses. Both POSIX.1 and FreeBSD do this correctly for sem_open(). Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050225061410.K152>