|
|
1.1 ! root 1: .\" Copyright (c) 1983 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)sigsetmask.2 6.3 (Berkeley) 5/14/86 ! 6: .\" ! 7: .TH SIGSETMASK 2 "May 14, 1986" ! 8: .UC 5 ! 9: .SH NAME ! 10: sigsetmask \- set current signal mask ! 11: .SH SYNOPSIS ! 12: .nf ! 13: .B #include <signal.h> ! 14: ! 15: .B sigsetmask(mask); ! 16: .B int mask; ! 17: ! 18: .B mask = sigmask(signum) ! 19: .SH DESCRIPTION ! 20: .I Sigsetmask ! 21: sets the current signal mask (those signals ! 22: that are blocked from delivery). ! 23: Signals are blocked if the ! 24: corresponding bit in ! 25: .I mask ! 26: is a 1; the macro ! 27: .I sigmask ! 28: is provided to construct the mask for a given ! 29: .IR signum . ! 30: .PP ! 31: The system ! 32: quietly disallows SIGKILL, SIGSTOP, or SIGCONT to ! 33: be blocked. ! 34: .SH "RETURN VALUE ! 35: The previous set of masked signals is returned. ! 36: .SH "SEE ALSO" ! 37: kill(2), sigvec(2), sigblock(2), sigpause(2)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.