Loading...
--- Libc/Libc-1725.40.4/sys/sigwait.2
+++ Libc/Libc-262/sys/sigwait.2
@@ -35,7 +35,7 @@
.Sh SYNOPSIS
.In signal.h
.Ft int
-.Fn sigwait "const sigset_t *restrict set" "int *restrict sig"
+.Fn sigwait "const sigset_t *set" "int *sig"
.Sh DESCRIPTION
The
.Fn sigwait
@@ -53,14 +53,8 @@
.Pp
The signals specified by
.Fa set
-should be blocked, but not ignored, at the time of the call to
+should be blocked at the time of the call to
.Fn sigwait .
-.Pp
-Processes which call
-.Fn sigwait
-on ignored signals will wait indefinitely. Ignored
-signals are dropped immediately by the system, before delivery
-to a waiting process.
.Sh RETURN VALUES
If successful,
.Fn sigwait
@@ -77,11 +71,12 @@
specifies one or more invalid signal numbers.
.El
.Sh SEE ALSO
-.Xr pthread_sigmask 2 ,
.Xr sigaction 2 ,
.Xr sigpending 2 ,
.Xr sigsuspend 2 ,
-.Xr pause 3
+.Xr pause 3 ,
+.Xr pthread_sigmask 2
.Sh STANDARDS
.Fn sigwait
conforms to ISO/IEC 9945-1:1996 (``POSIX.1'')
+