diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-03-04 13:35:29 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-03-04 13:35:29 +0000 |
commit | 6c545ee600112fda8e8139b56221065e0c751859 (patch) | |
tree | a1b033707a7aac2dbefc00a03d0565d5e0e799d4 /lib | |
parent | a641bbc2ff7f60e304c55c2966406daf04d2c3c7 (diff) |
add .Nd and a DESCRIPTION section; karls@inet.no
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/nanosleep.2 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2 index 5a1e175c9cc..15b66afbe80 100644 --- a/lib/libc/sys/nanosleep.2 +++ b/lib/libc/sys/nanosleep.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nanosleep.2,v 1.1 1997/04/20 20:56:20 tholo Exp $ +.\" $OpenBSD: nanosleep.2,v 1.2 1999/03/04 13:35:28 aaron Exp $ .\" $NetBSD: nanosleep.2,v 1.1 1997/04/17 18:12:02 jtc Exp $ .\" .\" Copyright (c) 1986, 1991, 1993 @@ -39,11 +39,17 @@ .Os .Sh NAME .Nm nanosleep +.Nd high resolution sleep .Sh SYNOPSIS .Fd #include <time.h> .Ft int .Fn nanosleep "const struct timespec *rqtp" "struct timespec *rmtp" -.\" .Sh DESCRIPTION +.Sh DESCRIPTION +.Fn nanosleep +suspends execution of the calling process for the time specified. An unmasked +signal will cause it to terminate the sleep early, regardless of the +.Dv SA_RESTART +value on the interrupting signal. .Sh RETURN VALUE If the .Fn nanosleep |