Date: Fri, 30 Jun 1995 08:20:02 -0700 From: daveho@infocom.com To: freebsd-bugs Subject: misc/575: constants in sys/sem.h in #ifdef KERNEL block Message-ID: <199506301520.IAA04926@freefall.cdrom.com> In-Reply-To: Your message of Fri, 30 Jun 1995 10:10:11 -0500 <199506301510.KAA00752@mandy.infocom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>Number: 575 >Category: misc >Synopsis: constants in sys/sem.h in #ifdef KERNEL block >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 30 08:20:01 1995 >Originator: Dave Hovemeyer >Organization: infocom, inc Boston, IN >Release: FreeBSD 2.0-BUILT-19950603 i386 >Environment: 486DX2/66 >Description: In /usr/include/sys/sem.h, the constants SEM_R and SEM_A are surrounded by an #ifdef KERNEL block, making them inaccessible to user code. I'm reading Stevens (_Advanced Programming in the UNIX Environment_). I'm assuming that the SysV IPC examples should work in FreeBSD. Cursory inspection also reveals that SHM_R and SHM_A aren't defined anywhere. PS. Thanks for a great OS! >How-To-Repeat: n/a >Fix: move constants out of #ifdef block >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506301520.IAA04926>