summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2010-01-29 10:32:01 +0000
committerrwatson <rwatson@FreeBSD.org>2010-01-29 10:32:01 +0000
commitf403000d3914d84750322e39d1292d2420d88026 (patch)
tree4b70ff485292bcb015169fe02546b3284fdcc570 /lib
parent51117fa3d858fc5caf72c6c3abe8f56154d95aef (diff)
downloadFreeBSD-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.21
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
OpenPOWER on IntegriCloud