diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-10-16 13:42:03 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-10-16 13:42:03 +0000 |
| commit | 74dcc37aef317253d37afdcb388cb9d8dcfcb13e (patch) | |
| tree | b95d8290cdd662bec3d602b0ef302dcef7bb5317 /lib | |
| parent | 49620c896c7c7a0c7ee94ad4a52dde3994777984 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/gen/sleep.3 | 8 | ||||
| -rw-r--r-- | lib/libc/gen/usleep.3 | 6 |
2 files changed, 5 insertions, 9 deletions
diff --git a/lib/libc/gen/sleep.3 b/lib/libc/gen/sleep.3 index ede3ef687836..fa1057e8ab21 100644 --- a/lib/libc/gen/sleep.3 +++ b/lib/libc/gen/sleep.3 @@ -63,14 +63,10 @@ the sleep time is set to the remaining clock time. .Pp This function is implemented using -.Xr signanosleep 2 +.Xr nanosleep 2 by pausing for .Fa seconds of time or until any signal occurse. -For compatibility reasons SIGALRM signal handled internally -(if not blocked) during -.Fn sleep -call. .Sh RETURN VALUES The .Fn sleep @@ -81,8 +77,8 @@ needed to be passed to a subsequent sleep to complete the necessary delay. repeatedly until it returns zero may busy-wait until a timer is available. .Sh SEE ALSO +.Xr nanosleep 2 , .Xr setitimer 2 , -.Xr signanosleep 2 , .Xr alarm 3 , .Xr signal 3 , .Xr ualarm 3 , diff --git a/lib/libc/gen/usleep.3 b/lib/libc/gen/usleep.3 index 997ee76ef152..b5ed4e9ce292 100644 --- a/lib/libc/gen/usleep.3 +++ b/lib/libc/gen/usleep.3 @@ -63,16 +63,16 @@ the sleep time is set to the remaining clock time. .Pp This function is implemented using -.Xr signanosleep 2 +.Xr nanosleep 2 by pausing for .Fa microseconds -of time or until SIGALRM signal occurse (if not blocked). +of time or until any signal occurse. .Sh NOTES .Pp A microsecond is 0.000001 seconds. .Sh SEE ALSO +.Xr nanosleep 2 , .Xr setitimer 2 , -.Xr signanosleep 2 , .Xr alarm 3 , .Xr signal 3 , .Xr sleep 3 , |
