1SIGPENDING(2)                 System Calls Manual                SIGPENDING(2)
2
3
4

NAME

6       sigpending - get pending signals
7

SYNOPSIS

9       #include <signal.h>
10
11       int
12       sigpending(set)
13       sigset_t *set;
14

DESCRIPTION

16       The  sigpending  function  returns  a  mask  of the signals pending for
17       delivery to the calling process in the location indicated by set.  Sig‐
18       nals  may  be pending because they are currently masked, or transiently
19       before delivery (although the latter case is not normally detectable).
20

RETURN VALUES

22       A 0 value indicated that the call succeeded.  A -1 return  value  indi‐
23       cates an error occurred and errno is set to indicated the reason.
24

ERRORS

26       If sigpending fails then errno will contain one of the following:
27
28
29       [EFAULT]            set contains an invalid address.
30

SEE ALSO

32       sigaction(2), sigprocmask(2)
33

STANDARDS

35       The sigpending function is defined by IEEE Std1003.1-1988 (``POSIX'').
36
37
38
394.4 Berkeley Distribution      September 3, 1997                 SIGPENDING(2)
Impressum