Bug 575 - constants in sys/sem.h in #ifdef KERNEL block
Summary: constants in sys/sem.h in #ifdef KERNEL block
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-06-30 08:20 UTC by daveho
Modified: 1995-06-30 08:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daveho 1995-06-30 08:20:01 UTC
	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!

Fix: 

move constants out of #ifdef block
How-To-Repeat: 
	n/a
Comment 1 Joerg Wunsch freebsd_committer freebsd_triage 1995-07-08 17:48:25 UTC
State Changed
From-To: open->closed

Suggested fix (plus another one sent in private mail) applied.