1sigpending(2)                    System Calls                    sigpending(2)
2
3
4

NAME

6       sigpending - examine signals that are blocked and pending
7

SYNOPSIS

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

DESCRIPTION

15       The  sigpending()  function retrieves those signals that have been sent
16       to the calling process but are being blocked from delivery by the call‐
17       ing  process's signal mask. The signals are stored in the space pointed
18       to by the set argument.
19

RETURN VALUES

21       Upon successful completion, 0 is returned. Otherwise,  −1  is  returned
22       and errno is set to indicate the error.
23

ERRORS

25       The sigpending() function will fail if:
26
27       EFAULT    The set argument points to an illegal address.
28
29

ATTRIBUTES

31       See attributes(5) for descriptions of the following attributes:
32
33
34
35
36       ┌─────────────────────────────┬─────────────────────────────┐
37       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
38       ├─────────────────────────────┼─────────────────────────────┤
39       │Interface Stability          │Standard                     │
40       ├─────────────────────────────┼─────────────────────────────┤
41       │MT-Level                     │Async-Signal-Safe            │
42       └─────────────────────────────┴─────────────────────────────┘
43

SEE ALSO

45       sigaction(2),   sigprocmask(2),   sigsetops(3C),  attributes(5),  stan‐
46       dards(5)
47
48
49
50SunOS 5.11                        28 Dec 1996                    sigpending(2)
Impressum