diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2010-01-29 10:32:01 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2010-01-29 10:32:01 +0000 |
commit | 992a6ccc1f3525534750835669777710abc883fd (patch) | |
tree | 4b70ff485292bcb015169fe02546b3284fdcc570 /lib/libc | |
parent | c4d16d268f384be8707192f7249733750a002922 (diff) | |
download | src-992a6ccc1f3525534750835669777710abc883fd.tar.gz src-992a6ccc1f3525534750835669777710abc883fd.zip |
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
Notes
Notes:
svn path=/head/; revision=203161
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/shm_open.2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/sys/shm_open.2 b/lib/libc/sys/shm_open.2 index 5c5d6947e7e6..a586fe33199b 100644 --- a/lib/libc/sys/shm_open.2 +++ b/lib/libc/sys/shm_open.2 @@ -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 |