summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcheloha <cheloha@openbsd.org>2019-06-27 18:11:53 +0000
committercheloha <cheloha@openbsd.org>2019-06-27 18:11:53 +0000
commitca81e710aee426596e98bb438f27e20b98aa6498 (patch)
tree4cd177e243a0d8d3fc6d49c52c378c6aa8174138
parentPartial rewrite of the explanation of environment handling to avoid: (diff)
downloadwireguard-openbsd-ca81e710aee426596e98bb438f27e20b98aa6498.tar.xz
wireguard-openbsd-ca81e710aee426596e98bb438f27e20b98aa6498.zip
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@
-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