summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2009-04-21 19:30:15 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2009-04-21 19:30:15 +0000
commitcf01bb9c5205279af3e81b23e0edf031002b34cb (patch)
treeb87104cc387d587c008e3172febb0b6492fe7874
parent46c3215394ff5366759d3c079519c102f888575a (diff)
Document timeout_add_msec().
oga pointed out that it was undocumented, which caused me to find out that I had this diff in my tree. `fine' deraadt
-rw-r--r--share/man/man9/Makefile6
-rw-r--r--share/man/man9/timeout.98
2 files changed, 10 insertions, 4 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 3ffe593e56d..bb68a7b5e74 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.150 2009/03/02 23:37:08 blambert Exp $
+# $OpenBSD: Makefile,v 1.151 2009/04/21 19:30:14 mk Exp $
# $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@@ -295,7 +295,9 @@ MLINKS+=timeout.9 timeout_add.9 timeout.9 timeout_set.9 \
timeout.9 timeout_initialized.9 timeout.9 untimeout.9 \
timeout.9 timeout_triggered.9 timeout.9 timeout_add_tv.9 \
timeout.9 timeout_add_ts.9 timeout.9 timeout_add_bt.9 \
- timeout.9 timeout_add_sec.9 timeout.9 timeout_add_usec.9 \
+ timeout.9 timeout_add_sec.9 \
+ timeout.9 timeout_add_msec.9 \
+ timeout.9 timeout_add_usec.9 \
timeout.9 timeout_add_nsec.9
MLINKS+=tsleep.9 wakeup.9 tsleep.9 msleep.9
MLINKS+=uiomove.9 uio.9
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9
index caf6f8dbd0b..d5037dd1696 100644
--- a/share/man/man9/timeout.9
+++ b/share/man/man9/timeout.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: timeout.9,v 1.28 2008/07/30 19:41:32 mk Exp $
+.\" $OpenBSD: timeout.9,v 1.29 2009/04/21 19:30:14 mk Exp $
.\"
.\" Copyright (c) 2000 Artur Grabowski <art@openbsd.org>
.\" All rights reserved.
@@ -23,13 +23,14 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 30 2008 $
+.Dd $Mdocdate: April 21 2009 $
.Dt TIMEOUT 9
.Os
.Sh NAME
.Nm timeout_set ,
.Nm timeout_add ,
.Nm timeout_add_sec ,
+.Nm timeout_add_msec ,
.Nm timeout_add_nsec ,
.Nm timeout_add_usec ,
.Nm timeout_add_tv ,
@@ -64,6 +65,8 @@
.Ft void
.Fn "timeout_add_sec" "struct timeout *to" "int sec"
.Ft void
+.Fn "timeout_add_msec" "struct timeout *to" "int msec"
+.Ft void
.Fn "timeout_add_usec" "struct timeout *to" "int usec"
.Ft void
.Fn "timeout_add_nsec" "struct timeout *to" "int nsec"
@@ -169,6 +172,7 @@ When possible, use the
.Fn timeout_add_ts ,
.Fn timeout_add_bt ,
.Fn timeout_add_sec ,
+.Fn timeout_add_msec ,
.Fn timeout_add_usec ,
and
.Fn timeout_add_nsec