source: trunk/minix/man/man2/sigsuspend.2@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 805 bytes
RevLine 
[9]1.TH SIGSUSPEND 2
2.SH NAME
3sigsuspend \- suspend until signalled
4.SH SYNOPSIS
5.ft B
6#include <signal.h>
7
8int sigsuspend(const sigset_t *\fIset\fP)
9.ft P
10.SH DESCRIPTION
11.B Sigsuspend()
12installs the signal mask referenced by
13.I set
14and suspends the process until signalled. The signal is handled, the signal
15mask is restored to the value it had before the
16.B sigsuspend()
17call 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()
26never returns normally, so it always returns
27.BR \-1 .
28The error code is either
29.B EINTR
30indicating that a signal has arrived, or
31.B EFAULT
32for a bad
33.I set
34address.
35.SH AUTHOR
36Kees 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.