sigaddset

å称
     sigemptyset, sigfillset, sigaddset, sigdelset, sigismember —
     ã·ã°ãã«ã»ãããæä½

ã©ã¤ãã©ãª
     Standard C Library (libc, -lc)

æ¸å¼
     <signal.h> int sigemptyset(sigset_t *set) int sigfillset(sigset_t *set)
     int sigaddset(sigset_t *set, int signo) int sigdelset(sigset_t *set, int
     signo) int sigismember(const sigset_t *set, int signo)

解説
     ãããã®é¢æ°ã¯ã sigset_t ã«ä¿åãããã·ã°ãã«ã»ãããæä½ãã¾ãã sigset_t
     åã®åãªãã¸ã§ã¯ãã«ã¤ã㦠sigemptyset() ã¾ã㯠sigfillset()
     ã®ã©ã¡ãããå¼ã³åºããå¾ã§ããªãã¸ã§ã¯ããä»ã®ããã«ä½¿ç¨ãã¾ãã

     sigemptyset() é¢æ°ã¯ã·ã°ãã«ã»ããã空ã«åæåãã¾ãã

     sigfillset() é¢æ°ã¯ãã·ã°ãã«ã»ããããã¹ã¦ã®ã·ã°ãã«ãå«ã¾ããããã«åæåãã¾ãã

     sigaddset() é¢æ°ã¯ãã·ã°ãã«ã»ããã«ãæå®ã®ã·ã°ãã« signo ã追å ãã¾ãã

     sigdelset() é¢æ°ã¯ãã·ã°ãã«ã»ãããããæå®ã®ã·ã°ãã« signo ãåé¤ãã¾ãã

     sigismember() é¢æ°ã¯ãæå®ã®ã·ã°ãã« signo ãã·ã°ãã«ã»ããã«å«ã¾ãããã©ãããè¿ãã¾ãã

     ãããã®é¢æ°ã¯ ã¤ã³ã¯ã«ã¼ããã¡ã¤ã« <signal.h> åã«ãã¯ãã¨ãã¦åãããã¦ãã¾ãã (#undef
     åå ã使ç¨ãã¦)ååãæªå®ç¾©ã§ãã£ã¦ãå®éã®é¢æ°ã¯å©ç¨ã§ãã¾ã ã

æ»ãå¤
     sigismember() é¢æ°ã¯ãã·ã°ãã«ãã»ããã®ã¡ã³ãã§ããå ´å㯠1 ãè¿ãã¾ãã
     ããã§ãªãå ´å㯠0 ãè¿ãã¾ãã ä»ã®é¢æ°ã¯ 0 ãè¿ãã¾ãã

ã¨ã©ã¼
     ç¾æç¹ã§ã¯ã¨ã©ã¼ã¯æ¤åºããã¦ãã¾ããã

é¢é£é ç®
     kill(2), sigaction(2), sigsuspend(2)

è¦æ ¼
     ãããã®é¢æ°ã¯ã IEEE Std 1003.1-1988 (“POSIX.1”) ã«ãã£ã¦å®ç¾©ããã¦ãã¾ãã