glibc-2.0.94: <sys/sem.h> doesn't include union semun

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Mon Jun 22 01:56:00 GMT 1998


Zack Weinberg <zack@rabi.phys.columbia.edu> writes:

|> This has always bugged me a little.  It seems silly to define an
|> interface but not provide the types needed to use it.

You don't need union semun.  You can just pass the appropriate value to
semctl, since it is declared as varargs.

Andreas.



More information about the Libc-hacker mailing list