DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

sigpending(S)


sigpending -- examine pending signals

Syntax

cc . . . -lc

#include  <signal.h>

int sigpending (set) sigset_t *set;

Description

A call to the sigpending routine stores the set of signals blocked from delivery and pending to the calling process in the object to which the argument set points.

Return value

Upon successful completion, a value of zero is returned.

sigpending fails if the following is true:


EFAULT
set points outside the allocated address space of the process. Where set is the name of the documented argument.

See also

sigaction(S), signal(M), signal(S), sigprocmask(S), sigsuspend(S), sigset(S), sigsetv(S), sigsetjmp(S)

Standards conformance

sigpending conforms with:

IEEE POSIX Std 1003.1-1990 System Application Program Interface (API) [C Language] (ISO/IEC 9945-1) ;
X/Open Portability Guide, Issue 3, 1989 ;
and NIST FIPS 151-1 .


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003