Date: Tue, 10 Nov 2015 12:45:53 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 78021] sem_open(3) doesn't mention fnctl.h include requirement Message-ID: <bug-78021-8-JNYtiThQzz@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-78021-8@https.bugs.freebsd.org/bugzilla/> References: <bug-78021-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=78021 NGie Cooper <ngie@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ngie@FreeBSD.org --- Comment #3 from NGie Cooper <ngie@FreeBSD.org> --- Mimicking what Linux did in the man-pages package ( http://man7.org/linux/man-pages/man3/sem_open.3.html ): $ svn diff lib/libc/gen/sem_open.3 Index: lib/libc/gen/sem_open.3 =================================================================== --- lib/libc/gen/sem_open.3 (revision 290640) +++ lib/libc/gen/sem_open.3 (working copy) @@ -38,6 +38,8 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS +.In sys/stat.h /* For mode constants */ +.In fcntl.h /* For O_* constants */ .In semaphore.h .Ft "sem_t *" .Fn sem_open "const char *name" "int oflag" ... -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-78021-8-JNYtiThQzz>