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

Ulrich Drepper drepper@cygnus.com
Fri Jun 19 23:46:00 GMT 1998


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

> Would it be out of the question for us to provide the union under
> _GNU_SOURCE, or perhaps more usefully to set up something akin to
> the transparent union magic used for struct sockaddr?

Since every portable program in any way must provide a definition for
union semun I don't think it is a good idea to add any special code
for _GNU_SOURCE.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------



More information about the Libc-hacker mailing list