summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2019-06-27 18:11:54 +0000
committercheloha <cheloha@cvs.openbsd.org>2019-06-27 18:11:54 +0000
commitd85d894112f4eac57ecd5967ad362e409de21f57 (patch)
treefa46e114cb8a803c350d11e78a733dee2e23497a /share
parent484c6e8d609ee892d62f61b12763f766f391f983 (diff)
DESCRIPTION: Be more direct about what delay(9) actually does.
While here, "delay" -> "interval", "busy wait" -> "busy-wait". With input from jmc@. "no objections" schwarze@, "reads ok" jmc@, ok ratchov@ kn@
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/delay.916
1 files changed, 8 insertions, 8 deletions
diff --git a/share/man/man9/delay.9 b/share/man/man9/delay.9
index e5cd7be0e2f..b54f33f1afd 100644
--- a/share/man/man9/delay.9
+++ b/share/man/man9/delay.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: delay.9,v 1.4 2007/09/14 16:16:08 mk Exp $
+.\" $OpenBSD: delay.9,v 1.5 2019/06/27 18:11:53 cheloha Exp $
.\"
.\" Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
.\"
@@ -14,22 +14,22 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: September 14 2007 $
+.Dd $Mdocdate: June 27 2019 $
.Dt DELAY 9
.Os
.Sh NAME
.Nm delay
-.Nd busy wait for an interval
+.Nd busy-wait for an interval
.Sh SYNOPSIS
.In sys/param.h
.Ft void
-.Fn delay "int delay"
+.Fn delay "int interval"
.Sh DESCRIPTION
-.Fn delay
-is called in the kernel to busy wait for a period of time.
The
-.Fa delay
-argument specifies the period of time to wait for, in microseconds.
+.Fn delay
+function busy-waits for at least
+.Fa interval
+microseconds.
.Sh SEE ALSO
.Xr timeout 9 ,
.Xr tsleep 9