diff options
author | rwatson <rwatson@FreeBSD.org> | 2010-01-29 10:32:01 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2010-01-29 10:32:01 +0000 |
commit | f403000d3914d84750322e39d1292d2420d88026 (patch) | |
tree | 4b70ff485292bcb015169fe02546b3284fdcc570 /lib | |
parent | 51117fa3d858fc5caf72c6c3abe8f56154d95aef (diff) | |
download | FreeBSD-src-f403000d3914d84750322e39d1292d2420d88026.zip FreeBSD-src-f403000d3914d84750322e39d1292d2420d88026.tar.gz |
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
Diffstat (limited to 'lib')
-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 5c5d694..a586fe3 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 |