In nanosleep(2), note that the calling thread is put to sleep, not the

whole process. Also explicitely name the parameter that specifies
sleep interval.
This commit is contained in:
kib 2009-10-11 16:23:11 +00:00
parent 9c86ec8748
commit fc26689658

View File

@ -47,7 +47,9 @@
The
.Fn nanosleep
system call
causes the process to sleep for the specified time.
causes the calling thread to sleep until the time interval specified by
.Fa rqtp
has elapsed.
An unmasked signal will
cause it to terminate the sleep early, regardless of the
.Dv SA_RESTART