bin/78021: sem_open(3) doesn't mention fnctl.h include
rwatson at FreeBSD.org
Thu Feb 24 14:50:35 GMT 2005
The following reply was made to PR bin/78021; it has been noted by GNATS.
From: Robert Watson <rwatson at FreeBSD.org>
To: FreeBSD-gnats-submit at freebsd.org
Subject: Re: bin/78021: sem_open(3) doesn't mention fnctl.h include
Date: Thu, 24 Feb 2005 14:44:12 +0000 (GMT)
On Thu, 24 Feb 2005 FreeBSD-gnats-submit at freebsd.org wrote:
> Thank you very much for your problem report. It has the internal
> identification `bin/78021'. The individual assigned to look at your
> report is: freebsd-bugs.
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().
Robert N M Watson
More information about the freebsd-bugs