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:
rwatson 2010-01-29 10:32:01 +00:00
parent 51117fa3d8
commit f403000d39

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