1SIGPENDING(2) Linux Programmer's Manual SIGPENDING(2)
2
3
4
6 sigpending - examine pending signals
7
9 #include <signal.h>
10
11 int sigpending(sigset_t *set);
12
14 sigpending() returns the set of signals that are pending for delivery
15 to the calling thread (i.e., the signals which have been raised while
16 blocked). The mask of pending signals is returned in set.
17
19 sigpending() returns 0 on success and -1 on error.
20
22 EFAULT set points to memory which is not a valid part of the process
23 address space.
24
26 See sigsetops(3) for details on manipulating signal sets.
27
29 POSIX.1-2001.
30
32 In versions of glibc up to and including 2.2.1, there is a bug in the
33 wrapper function for sigpending() which means that information about
34 pending real-time signals is not correctly returned.
35
37 kill(2), sigaction(2), signal(2), sigprocmask(2), sigsuspend(2), sigseā
38 tops(3), signal(7)
39
40
41
42Linux 2.6.13 2005-09-15 SIGPENDING(2)