Line | |
---|
1 | .TH SIGSUSPEND 2
|
---|
2 | .SH NAME
|
---|
3 | sigsuspend \- suspend until signalled
|
---|
4 | .SH SYNOPSIS
|
---|
5 | .ft B
|
---|
6 | #include <signal.h>
|
---|
7 |
|
---|
8 | int sigsuspend(const sigset_t *\fIset\fP)
|
---|
9 | .ft P
|
---|
10 | .SH DESCRIPTION
|
---|
11 | .B Sigsuspend()
|
---|
12 | installs the signal mask referenced by
|
---|
13 | .I set
|
---|
14 | and suspends the process until signalled. The signal is handled, the signal
|
---|
15 | mask is restored to the value it had before the
|
---|
16 | .B sigsuspend()
|
---|
17 | call and call returns.
|
---|
18 | .SH "SEE ALSO"
|
---|
19 | .BR pause (2),
|
---|
20 | .BR sigaction (2),
|
---|
21 | .BR sigpending (2),
|
---|
22 | .BR sigprocmask (2),
|
---|
23 | .BR sigset (3).
|
---|
24 | .SH DIAGNOSTICS
|
---|
25 | .B Sigsuspend()
|
---|
26 | never returns normally, so it always returns
|
---|
27 | .BR \-1 .
|
---|
28 | The error code is either
|
---|
29 | .B EINTR
|
---|
30 | indicating that a signal has arrived, or
|
---|
31 | .B EFAULT
|
---|
32 | for a bad
|
---|
33 | .I set
|
---|
34 | address.
|
---|
35 | .SH AUTHOR
|
---|
36 | Kees J. Bot (kjb@cs.vu.nl)
|
---|
37 |
|
---|
38 | .\"
|
---|
39 | .\" $PchId: sigsuspend.2,v 1.2 1996/04/11 06:02:41 philip Exp $
|
---|
Note:
See
TracBrowser
for help on using the repository browser.