summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-02-21 23:39:40 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-02-21 23:39:40 +0000
commitddf2fb64364b265fe3d64291c2c4225cc6f887d3 (patch)
tree9865b7ddcbc011b83d722d2e9c0b98d3ece9814e
parent522bf9ec9500151462132a32b7fdf57ccce4f969 (diff)
remove section 2/3 pointers from section 1,
and do not point programmers at the obsolete usleep(3); based on a diff from Jan Klemkow <j dot klemkow at wemelug dot de>, but removing more as suggested by jmc@ and deraadt@
-rw-r--r--bin/sleep/sleep.111
-rw-r--r--lib/libc/gen/sleep.37
2 files changed, 6 insertions, 12 deletions
diff --git a/bin/sleep/sleep.1 b/bin/sleep/sleep.1
index 786ae182297..e8042ce461e 100644
--- a/bin/sleep/sleep.1
+++ b/bin/sleep/sleep.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sleep.1,v 1.19 2010/09/03 09:53:20 jmc Exp $
+.\" $OpenBSD: sleep.1,v 1.20 2014/02/21 23:39:39 schwarze Exp $
.\" $NetBSD: sleep.1,v 1.9 1995/07/25 19:37:43 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
@@ -33,7 +33,7 @@
.\"
.\" @(#)sleep.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: September 3 2010 $
+.Dd $Mdocdate: February 21 2014 $
.Dt SLEEP 1
.Os
.Sh NAME
@@ -106,12 +106,7 @@ while true; do
done
.Ed
.Sh SEE ALSO
-.Xr at 1 ,
-.Xr nanosleep 2 ,
-.Xr setitimer 2 ,
-.Xr alarm 3 ,
-.Xr sleep 3 ,
-.Xr usleep 3
+.Xr at 1
.Sh STANDARDS
The
.Nm
diff --git a/lib/libc/gen/sleep.3 b/lib/libc/gen/sleep.3
index 1d082cd2be6..899c083c4e3 100644
--- a/lib/libc/gen/sleep.3
+++ b/lib/libc/gen/sleep.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sleep.3,v 1.14 2013/07/18 10:14:49 schwarze Exp $
+.\" $OpenBSD: sleep.3,v 1.15 2014/02/21 23:39:39 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: July 18 2013 $
+.Dd $Mdocdate: February 21 2014 $
.Dt SLEEP 3
.Os
.Sh NAME
@@ -69,8 +69,7 @@ will be the unslept amount (the request time minus the time actually
slept) in seconds.
.Sh SEE ALSO
.Xr sleep 1 ,
-.Xr nanosleep 2 ,
-.Xr usleep 3
+.Xr nanosleep 2
.Sh STANDARDS
The
.Fn sleep