User's should #include <signal.h>, not <sys/signal.h> if they want to

use this function portably.
This commit is contained in:
jtc 1994-06-13 14:26:18 +00:00
parent 6729c03f86
commit d356abc303
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" from: @(#)sigsuspend.2 6.3 (Berkeley) 7/23/91 .\" from: @(#)sigsuspend.2 6.3 (Berkeley) 7/23/91
.\" $Id: sigsuspend.2,v 1.2 1993/08/01 07:42:14 mycroft Exp $ .\" $Id: sigsuspend.2,v 1.3 1994/06/13 14:26:18 jtc Exp $
.\" .\"
.Dd July 23, 1991 .Dd July 23, 1991
.Dt SIGSUSPEND 2 .Dt SIGSUSPEND 2
@ -39,7 +39,7 @@
.Nm sigsuspend .Nm sigsuspend
.Nd atomically release blocked signals and wait for interrupt .Nd atomically release blocked signals and wait for interrupt
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/signal.h> .Fd #include <signal.h>
.Ft int .Ft int
.Fn sigsuspend "const sigset_t *sigmask" .Fn sigsuspend "const sigset_t *sigmask"
.Sh DESCRIPTION .Sh DESCRIPTION