From f403000d3914d84750322e39d1292d2420d88026 Mon Sep 17 00:00:00 2001 From: rwatson Date: Fri, 29 Jan 2010 10:32:01 +0000 Subject: 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 --- lib/libc/sys/shm_open.2 | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libc') 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 -- cgit v1.1