This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]