SIGPENDING(2)							 SIGPENDING(2)
      sigpending	- return set of	signals	pending	for thread (POSIX)
      #include <signal.h>
     int sigpending (sigset_t *maskptr);
     sigpending	returns	the set	of signals pending for the calling thread
     (i.e., blocked from delivery) in the space	pointed	to by maskptr.
     Routines described	in sigsetops(3)	are used to examine the	returned
     signal set.
     sigpending	will fail if:
     [EFAULT]	    maskptr points to memory that is not a part	of process's
		    valid address space.
     kill(2), sigaction(2), sigprocmask(2), sigsuspend(2), sigsetops(3).
     A 0 value indicates that the call succeeded.  A -1	return value indicates
     an	error occurred and errno is set	to indicate the	reason.
     The POSIX and System V signal facilities have different semantics.	 Using
     both facilities in	the same program is strongly discouraged and will
     result in unpredictable behavior.
									PPPPaaaaggggeeee 1111 [ Back ]
 |