[ILUG] Where is semun union defined on Mandrake 9.2

Jason Corcoran Jason at jcorcoran.net
Wed Oct 6 14:30:54 IST 2004


On Wed, Oct 06, 2004 at 02:11:47PM +0100, kevin lyda wrote:
> On Wed, Oct 06, 2004 at 12:44:20PM +0100, Jason Corcoran wrote:
> > For some reason the semun union is not defined in /usr/include/sys/sem.h
> > 
> > Is there a reason for this?
> > 
> > Is my only option to define this union myself. I have grep'd through my 
> > includes and there is no definition of semun.
> > 
> > Are there any links explaining why this is this way
> 
> the semctl manpage has a code snippit for how to define it.  it is an
> unfortunate name though.
> 
> kevin

Kevin,
Thaks for the reply.  I had noticed the definition on the man page, which is wrapped around a if def and commented that it should be defined in sys/shm.h

I was more wondering if this is a Linux / Mandrake querk or is this union normally not defined in the headers.

Thanks again
Jason 



More information about the ILUG mailing list