Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 2010 10:32:01 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203161 - head/lib/libc/sys
Message-ID:  <201001291032.o0TAW1VZ034590@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001291032.o0TAW1VZ034590>