forked from Stichting-MINIX-Research-Foundation/minix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsigsuspend.2
More file actions
39 lines (37 loc) · 805 Bytes
/
Copy pathsigsuspend.2
File metadata and controls
39 lines (37 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.TH SIGSUSPEND 2
.SH NAME
sigsuspend \- suspend until signalled
.SH SYNOPSIS
.ft B
#include <signal.h>
int sigsuspend(const sigset_t *\fIset\fP)
.ft P
.SH DESCRIPTION
.B Sigsuspend()
installs the signal mask referenced by
.I set
and suspends the process until signalled. The signal is handled, the signal
mask is restored to the value it had before the
.B sigsuspend()
call and call returns.
.SH "SEE ALSO"
.BR pause (2),
.BR sigaction (2),
.BR sigpending (2),
.BR sigprocmask (2),
.BR sigset (3).
.SH DIAGNOSTICS
.B Sigsuspend()
never returns normally, so it always returns
.BR \-1 .
The error code is either
.B EINTR
indicating that a signal has arrived, or
.B EFAULT
for a bad
.I set
address.
.SH AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
.\"
.\" $PchId: sigsuspend.2,v 1.2 1996/04/11 06:02:41 philip Exp $