[Bug 78021] sem_open(3) doesn't mention fnctl.h include requirement
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Nov 10 12:45:53 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=78021
NGie Cooper <ngie at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ngie at FreeBSD.org
--- Comment #3 from NGie Cooper <ngie at 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.
More information about the freebsd-bugs
mailing list