This is the mail archive of the libc-alpha@sources.redhat.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: BSD signal blocking


Bruno Haible <haible@ilog.fr> writes:

> Programs that make use of BSD signal blocking functions, like the following
> one, cannot be compiled with CC="gcc -ansi" on Linux, because the libc is
> missing the sigmask() function. Therefore sigmask() should be added to the
> libc.

Sigmask is no ISO C function, you should not use it.  If you are using
BSD function you will have to define at least _BSD_SOURCE.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

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