BSD signal blocking

Ulrich Drepper drepper@redhat.com
Mon Jul 10 13:42:00 GMT 2000


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   `------------------------


More information about the Libc-alpha mailing list