This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: BSD signal blocking
- To: Bruno Haible <haible at ilog dot fr>
- Subject: Re: BSD signal blocking
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 10 Jul 2000 13:42:35 -0700
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <14697.49889.431284.972530@honolulu.ilog.fr>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------