Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 1995 09:58:39 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        tsingle@sunland.gsfc.nasa.gov (Tim Singletary)
Cc:        hackers@freebsd.org
Subject:   Re: /usr/include/sys/shm.h vs `man 2 shmget'
Message-ID:  <199512230858.JAA22196@uriah.heep.sax.de>
In-Reply-To: <199512221957.OAA10601@sunward.gsfc.nasa.gov.gsfc743> from "Tim Singletary" at Dec 22, 95 02:57:13 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Tim Singletary wrote:
> 
> In FreeBSD 2.1, `man 2 shmget' refers to SHM_R and SHM_W.  But these
> names aren't defined anywhere.  Instead, /usr/include/sys/ipc.h
> defines IPC_R and IPC_W.

This has already been fixed in -current.  I think, the definitions
were also in the 2.1 (and earlier) shm.h, but they were bogusly
protected by #ifdef KERNEL.  Move them a few lines above, and you
should be going.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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