1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

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
This commit is contained in:
Robert Watson 2010-01-29 10:32:01 +00:00
parent c4d16d268f
commit 992a6ccc1f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=203161

View File

@ -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