svn commit: r203161 - head/lib/libc/sys
Robert Watson
rwatson at FreeBSD.org
Fri Jan 29 10:32:02 UTC 2010
Author: rwatson
Date: Fri Jan 29 10:32:01 2010
New Revision: 203161
URL: http://svn.freebsd.org/changeset/base/203161
Log:
You must include fcntl.h (in practice) to be able to do anything useful
with shm_open(2), as otherwise the O_ flags are undefined.
MFC after: 3 days
Modified:
head/lib/libc/sys/shm_open.2
Modified: head/lib/libc/sys/shm_open.2
==============================================================================
--- head/lib/libc/sys/shm_open.2 Fri Jan 29 10:20:11 2010 (r203160)
+++ head/lib/libc/sys/shm_open.2 Fri Jan 29 10:32:01 2010 (r203161)
@@ -39,6 +39,7 @@
.Sh SYNOPSIS
.In sys/types.h
.In sys/mman.h
+.In fcntl.h
.Ft int
.Fn shm_open "const char *path" "int flags" "mode_t mode"
.Ft int
More information about the svn-src-all
mailing list