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:
jhb 2007-03-09 17:52:10 +00:00
parent 0090f87663
commit dfba370731

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