Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/s/sigmask.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/s/sigmask.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/s/sigmask.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/s/sigmask.html on line 8
Construct a mask for a signal number
#include <unix.h>
#define sigmask(s) (1L<<((s)-1))
- s
- The signal that you want to create a mask for.
For more information, see
“POSIX signals”
in the documentation for SignalAction().
libc
Use the -l c option to
qcc
to link against this library.
This library is usually included automatically.
This macro constructs the mask for a given signal number.
Use sigmask() in conjunction with
sigblock(),
sigsetmask(),
and
sigunblock().
The signal mask.
Unix
Safety: | |
Cancellation point |
No |
Interrupt handler |
Yes |
Signal handler |
Yes |
Thread |
Yes |
Use of these interfaces should be restricted to only applications
written on BSD platforms. Use of these interfaces
with any of the system libraries or in multithreaded applications is unsupported.
kill(),
sigaction(),
sigblock(),
signal(),
sigpause(),
sigsetmask(),
sigunblock()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/s/sigmask.html on line 124
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/s/sigmask.html on line 124