diff options
author | kib <kib@FreeBSD.org> | 2009-10-11 16:23:11 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2009-10-11 16:23:11 +0000 |
commit | fc266896585f66838536ee5fb80f122f8c10afcb (patch) | |
tree | 59c6c31fece5717a3949e9e9270f3f69606385f6 /lib | |
parent | 9c86ec8748f932339492110583a9e03d19ccad8d (diff) | |
download | FreeBSD-src-fc266896585f66838536ee5fb80f122f8c10afcb.zip FreeBSD-src-fc266896585f66838536ee5fb80f122f8c10afcb.tar.gz |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/nanosleep.2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2 index 18e4c88..f50544b 100644 --- a/lib/libc/sys/nanosleep.2 +++ b/lib/libc/sys/nanosleep.2 @@ -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 |