[ILUG] Where is semun union defined on Mandrake 9.2

Jason Corcoran jason.corcoran at activant.com
Wed Oct 6 12:44:20 IST 2004


I am writing a little app that uses semaphores to control access to a 
shared memory segment.

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

Thanks
Jason.
-- 
________________________________________
Senior Software Engineer,
Activant Solutions Ltd.
Longford Ireland.

Email : Jason.Corcoran at Activant.com
Aim   : JasonCorcoran9
Http  : http://www.activant.com
Phone : + 353 (0) 43 49202




More information about the ILUG mailing list