Correct descriptions of EINTR and ERESTART errors. Masked signals don't

interrupt sleeps.  Rather, unmasked signals interrupt restarts and can
either interrupt the system call by having it return EINTR in userland or
force the system call to be restarted.
This commit is contained in:
John Baldwin 2007-03-09 17:52:10 +00:00
parent e6b69890ed
commit f499e49c46

View File

@ -178,9 +178,9 @@ and
will fail if:
.Bl -tag -width Er
.It Bq Er EINTR
An unmasked signal was caught.
A masked signal was caught and the system call should be restarted.
.It Bq Er ERESTART
A masked signal was caught.
A masked signal was caught and the system call should be interrupted.
.El
.Pp
.Fn cv_timedwait