Query: sigismember
OS: hpux
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
sigsetops(3C) sigsetops(3C)NAMEsigemptyset(), sigfillset(), sigaddset(), sigdelset(), sigismember() - initialize, manipulate, and test signal setsSYNOPSISDESCRIPTIONinitializes the signal set pointed to by set, to exclude all signals supported by HP-UX. initializes the signal set pointed to by set, to include all signals supported by HP-UX. Applications must call either or at least once for each object of type before using that object for anything else, including cases where the object is returned from a function (for example, the oset argument to -- see sigprocmask(2)). adds the signal specified by signo to the signal set pointed to by set. deletes the signal specified by signo from the signal set pointed to by set. tests whether the signal specified by signo is a member of the signal set pointed to by set.RETURN VALUEUpon successful completion, returns a value of 1 if the specified signal is a member of the specified set, or a value of 0 if it is not. The other functions return a value of 0 upon successful completion. For all of the above functions, if an error is detected, a value of -1 is returned and is set to indicate the error.ERRORSand fail if the following is true: [EINVAL] The value of the signo argument is out of range.WARNINGSThe above functions do not detect a bad address passed in for the set argument. A segmentation fault is the most likely result.AUTHORand were derived from theSEE ALSOsigaction(2), sigsuspend(2), sigpending(2), sigprocmask(2), signal(5).STANDARDS CONFORMANCEsigsetops(3C)