sigprocm.2
来自「Unix操作系统minix 2.0源码」· 2 代码 · 共 73 行
2
73 行
.TH SIGPROCMASK 2.SH NAMEsigprocmask \- manipulate the signal mask.SH SYNOPSIS.ft B#include <signal.h>int sigprocmask(int \fIhow\fP, const sigset_t *\fIset\fP, sigset_t *\fIoset\fP).ft P.SH DESCRIPTION.B Sigprocmask()examines or manipulates the signal mask. This mask is the set of signalsthat are currently blocked. The.I howargument determines the action that must be performed. In all cases thesignal set referenced by.IR oset ,if not.BR NULL ,will be used to receive the old signal mask. The.I setargument, if not.BR NULL ,will be used to set or modify the current signal mask..PP.I Howcan be one of:.PP.TP 15.B SIG_BLOCKAdd the signals referenced by.I setto the mask..TP.B SIG_UNBLOCKRemove the signals referenced by.I setfrom the mask..TP.B SIG_SETMASKSet the signal mask to the set referenced by.IR set ..PPThe value of.I howis ignored if.I setis.BR NULL ..SH "SEE ALSO".BR sigaction (2),.BR sigpending (2),.BR sigsuspend (2),.BR sigset (3)..SH DIAGNOSTICSReturns.B 0on success and.B \-1on error. The error code is.B EFAULTfor a bad.I setor.I osetaddress, or.B EINVALfor a bad.I howargument..SH AUTHORKees J. Bot (kjb@cs.vu.nl)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?