Author: rwatson
Date: Fri Jan 29 10:32:01 2010
New Revision: 203161
URL: http://svn.freebsd.org/changeset/base/203161

Log:
  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

Modified:
  head/lib/libc/sys/shm_open.2

Modified: head/lib/libc/sys/shm_open.2
==============================================================================
--- head/lib/libc/sys/shm_open.2        Fri Jan 29 10:20:11 2010        
(r203160)
+++ head/lib/libc/sys/shm_open.2        Fri Jan 29 10:32:01 2010        
(r203161)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to