diff options
author | 2013-07-18 10:14:48 +0000 | |
---|---|---|
committer | 2013-07-18 10:14:48 +0000 | |
commit | a51c8c4a6df7a40fa664fa3eccb73519f2d6b70c (patch) | |
tree | 400f7bdd5f4ea8370181d6a5ccb138855413d602 /lib/libc/gen/sleep.3 | |
parent | There is no uvm_km_pages_free in our kernel anymore. The corresponding (diff) | |
download | wireguard-openbsd-a51c8c4a6df7a40fa664fa3eccb73519f2d6b70c.tar.xz wireguard-openbsd-a51c8c4a6df7a40fa664fa3eccb73519f2d6b70c.zip |
HISTORY; tweaks and ok sobrado@ jmc@
Diffstat (limited to 'lib/libc/gen/sleep.3')
-rw-r--r-- | lib/libc/gen/sleep.3 | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/lib/libc/gen/sleep.3 b/lib/libc/gen/sleep.3 index 158c69d43dd..1d082cd2be6 100644 --- a/lib/libc/gen/sleep.3 +++ b/lib/libc/gen/sleep.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sleep.3,v 1.13 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: sleep.3,v 1.14 2013/07/18 10:14:49 schwarze Exp $ .\" .\" Copyright (c) 1986, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: July 18 2013 $ .Dt SLEEP 3 .Os .Sh NAME @@ -79,5 +79,16 @@ function conforms to .Sh HISTORY A .Fn sleep -function appeared in -.At v7 . +system call first appeared in +.At v3 . +In +.At v7 , +it was removed and replaced by a C library implementation based on +.Xr signal 3 +and +.Xr alarm 3 . +For +.Ox 2.1 , +it was reimplemented as a wrapper around the +.Xr nanosleep 2 +system call. |