1SIGPENDING(2)              Linux Programmer's Manual             SIGPENDING(2)
2
3
4

NAME

6       sigpending - examine pending signals
7

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUE

19       sigpending() returns 0 on success and -1 on error.
20

ERRORS

22       EFAULT set  points  to  memory which is not a valid part of the process
23              address space.
24

NOTES

26       See sigsetops(3) for details on manipulating signal sets.
27

CONFORMING TO

29       POSIX.1-2001.
30

BUGS

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

SEE ALSO

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)
Impressum