Date: Fri, 29 Sep 2000 12:28:07 -0400 (EDT) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Peter Pentchev <roam@orbitel.bg> Cc: freebsd-bugs@FreeBSD.ORG, freebsd-standards@khavrinen.lcs.mit.edu Subject: Re: misc/21644: /usr/include/sys/mman.h uses a type defined in /usr/include/sys/types.h Message-ID: <200009291628.MAA92746@khavrinen.lcs.mit.edu> In-Reply-To: <200009291040.DAA60567@freefall.freebsd.org> References: <200009291040.DAA60567@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 29 Sep 2000 03:40:18 -0700 (PDT), Peter Pentchev <roam@orbitel.bg> said: > Uhm.. the shm_open(3) manpage lists both <sys/types.h> and <sys/mman.h> > as headers you should include when using shm_open(). That is, on FreeBSD, > this is a well documented header dependency. > It is true, though, that SUSv2 says shm_open() should only need <sys/mman.h> FreeBSD does not currently claim compliance with SUSv2, and is unlikely to ever be able to. The P1003.1-200x document eliminates the requirement for <sys/types.h> in many places; see (e.g.) the description of fork() at XSH pages 887 through 891 (and specifically lines 12890 and 12891). So, this is a change we are going to be required to make. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009291628.MAA92746>