Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
sigpending(2)		      System Calls Manual		 sigpending(2)

NAME
       sigpending - examine pending signals

SYNOPSIS
DESCRIPTION
       stores  sets  of	signals	that are blocked from delivery and are pending
       to the calling process, at the location pointed to by set.

RETURN VALUE
       Upon successful completion, returns 0. Otherwise	-1 is returned and  is
       set to indicate the error.

ERRORS
       No errors are defined.

APPLICATION USAGE
   Threads Considerations
       The  set	 of signals returned by	is the union of	the signals pending on
       the process and calling thread.	A signal may be	pending	on the process
       if all threads block the	signal.

       The  set	 of signals returned by	is only	advisory.  Since other threads
       may be executing	at the time of the  call,  a  signal  pending  on  the
       process may be delivered	to a thread after this system call returns.

       For more	information regarding signals and threads, refer to signal(5).

   LWP (Lightweight Processes) Considerations
       The  set	 of signals returned by	is the union of	the signals pending on
       the process and calling LWP.

SEE ALSO
       sigprocmask(2), sigsetops(3C), <signal.h>.

CHANGE HISTORY
       First release in	Issue 3.

sigpending(2)		      System Calls Manual		 sigpending(2)

				  HP-UX	EXTENSIONS

ERRORS
       fails if	the following condition	is encountered:

       [EFAULT]	      set points to an invalid address.	 The  reliable	detec-
		      tion of this error is implementation-dependent.

AUTHOR
       was derived from	the IEEE POSIX 1003.1-1988 Standard.

SEE ALSO
       sigaction(2), sigsuspend(2), sigprocmask(2), sigsetops(3C), signal(5).

STANDARDS CONFORMANCE
       : AES, SVID3, XPG3, XPG4, FIPS 151-2, POSIX.1

								 sigpending(2)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | ERRORS | APPLICATION USAGE | SEE ALSO | CHANGE HISTORY | ERRORS | AUTHOR | SEE ALSO | STANDARDS CONFORMANCE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=sigpending&sektion=2&manpath=HP-UX+11.22>

home | help