| Line | |
|---|
| 1 | .TH SIGPENDING 2
|
|---|
| 2 | .SH NAME
|
|---|
| 3 | sigpending \- report pending signals
|
|---|
| 4 | .SH SYNOPSIS
|
|---|
| 5 | .ft B
|
|---|
| 6 | #include <signal.h>
|
|---|
| 7 |
|
|---|
| 8 | int sigpending(sigset_t *\fIset\fP)
|
|---|
| 9 | .ft P
|
|---|
| 10 | .SH DESCRIPTION
|
|---|
| 11 | .B Sigpending()
|
|---|
| 12 | returns the set of signals that are waiting to be delivered. They are
|
|---|
| 13 | currently blocked by the signal mask.
|
|---|
| 14 | .SH "SEE ALSO"
|
|---|
| 15 | .BR sigaction (2),
|
|---|
| 16 | .BR sigprocmask (2),
|
|---|
| 17 | .BR sigsuspend (2),
|
|---|
| 18 | .BR sigset (3).
|
|---|
| 19 | .SH DIAGNOSTICS
|
|---|
| 20 | Returns
|
|---|
| 21 | .B 0
|
|---|
| 22 | on success and
|
|---|
| 23 | .B \-1
|
|---|
| 24 | on error. The only possible error code is
|
|---|
| 25 | .B EFAULT
|
|---|
| 26 | for a bad
|
|---|
| 27 | .I set
|
|---|
| 28 | address.
|
|---|
| 29 | .SH AUTHOR
|
|---|
| 30 | Kees J. Bot (kjb@cs.vu.nl)
|
|---|
| 31 |
|
|---|
| 32 | .\"
|
|---|
| 33 | .\" $PchId: sigpending.2,v 1.2 1996/04/11 06:01:22 philip Exp $
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.