.Sh SYNOPSIS
.In signal.h
.Ft int
-.Fn sigwait "const sigset_t *set" "int *sig"
+.Fn sigwait "const sigset_t *restrict set" "int *restrict sig"
.Sh DESCRIPTION
The
.Fn sigwait
.Pp
Processes which call
.Fn sigwait
-on ignored signals will wait indefinately. Ignored
-signals are dropped immeadiately by the system, before delivery
+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,
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 pthread_sigmask 2
+.Xr pause 3
.Sh STANDARDS
.Fn sigwait
conforms to ISO/IEC 9945-1:1996 (``POSIX.1'')