This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: glibc-2.0.94: <sys/sem.h> doesn't include union semun
- To: Zack Weinberg <zack@rabi.phys.columbia.edu>
- Subject: Re: glibc-2.0.94: <sys/sem.h> doesn't include union semun
- From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
- Date: 22 Jun 1998 10:26:17 +0200
- Cc: Andreas Jaeger <aj@arthur.rhein-neckar.de>, libc-alpha@cygnus.com
- References: <199806200415.AAA26500@rabi.phys.columbia.edu>
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.