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

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" 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
.Dt SIGSUSPEND 2
@ -39,7 +39,7 @@
.Nm sigsuspend
.Nd atomically release blocked signals and wait for interrupt
.Sh SYNOPSIS
.Fd #include <sys/signal.h>
.Fd #include <signal.h>
.Ft int
.Fn sigsuspend "const sigset_t *sigmask"
.Sh DESCRIPTION