̾??
sigprocmask
—
???ߤΥ????ʥ??ޥ??????????
Standard C Library (libc, -lc)
sigprocmask
()
?????ƥॳ?????ϡ????ߤΥ????ʥ??ޥ???
(?ۿ????֥??å??????Ƥ??륷???ʥ?) ??
Ĵ?????ѹ????Ԥ??ޤ???
?????ʥ??ϡ????ߤΥ????ʥ??ޥ??????åȤ˴ޤޤ????????˥֥??å??????ޤ???
set ?? NULL
?ǤϤʤ????硢
sigprocmask
()
???????ϡ? how
???????ͤˤ??äƷ??ޤ??ޤ???
?????ʥ??ޥ????ϡ????ꤷ?? set
?ȸ??ߤΥޥ????ˤ??ä??ѹ??????ޤ???
?ؿ??ϡ?
<signal.h>
?????????????ʲ????ͤ????Ѥ??? how
?ǻ??ꤷ?ޤ???
SIG_BLOCK
- ???????ޥ????ϡ????ߤΥޥ????Ȼ??ꤷ??
set
???½????ˤʤ??ޤ???
SIG_UNBLOCK
- ???????ޥ????ϡ????ߤΥޥ????Ȼ??ꤷ??
set
???佸???θ??????ˤʤ??ޤ???
SIG_SETMASK
- ???ߤΥޥ????ϡ????ꤷ??
set ???֤??????????ޤ???
oset ?? NULL
?Ǥʤ????硢???Υ????ʥ??ޥ??????ͤ????ꤵ???ޤ???
set ?? NULL ?Ǥ??????硢
how
???ͤ?̵???ˤʤꡢ?ޥ?????̤?????ΤޤĤ??Τǡ?
?????ʥ??ޥ??????????????˸????Ǥ????褦?ˤʤ??ޤ???
?????ƥ??Ǥϡ? SIGKILL
?? SIGSTOP
?Υ֥??å??????Ĥ????Ƥ??ޤ?????
The sigprocmask
() function returns the
value 0 if successful; otherwise the value -1 is returned and
the global variable errno is set to indicate the
error.
?ʲ???ȯ???????ȡ?
sigprocmask
()
?????ƥॳ?????ϥ??顼?ˤʤꡢ?????ʥ??ޥ??????ѹ??????ޤ?????
- [
EINVAL
]
- how
?????????????ǥꥹ?Ȥ˵??ʳ????ͤˤʤäƤ??ޤ???
sigprocmask
()
?????ƥॳ?????ϡ? IEEE Std 1003.1-1990
(“POSIX.1”)
??Ŭ?礷?Ƥ??ޤ???