summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-02-21 23:39:39 +0000
committerschwarze <schwarze@openbsd.org>2014-02-21 23:39:39 +0000
commit9212aac1a322dc3aa4738e45b4b028359920f7d5 (patch)
treebb467c739653192e27282bd62f5ce2948868f576
parentCheck that we do not break the line at existing hyphens in macro arguments. (diff)
downloadwireguard-openbsd-9212aac1a322dc3aa4738e45b4b028359920f7d5.tar.xz
wireguard-openbsd-9212aac1a322dc3aa4738e45b4b028359920f7d5.zip
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