summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-02-16 13:30:49 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-02-16 13:30:49 +0000
commit73e30b17081fc6c93c5b464498b8039303deecdd (patch)
treebb78d8c1bb3eb776d43533aedb6f06b11256fdb0 /share/man/man9
parentbf5a16ddbb3c8692a1608b7b0a1753685f1b4d69 (diff)
Add function types.
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/timeout.97
1 files changed, 6 insertions, 1 deletions
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9
index 96d309d08ef..77c24d0e112 100644
--- a/share/man/man9/timeout.9
+++ b/share/man/man9/timeout.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: timeout.9,v 1.11 2000/10/12 18:06:03 aaron Exp $
+.\" $OpenBSD: timeout.9,v 1.12 2001/02/16 13:30:48 espie Exp $
.\"
.\" Copyright (c) 2000 Artur Grabowski <art@openbsd.org>
.\" All rights reserved.
@@ -39,10 +39,15 @@
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/timeout.h>
+.Ft void
.Fn "timeout_set" "struct timeout *to" "void (*fn)(void *)" "void *arg"
+.Ft void
.Fn "timeout_add" "struct timeout *to" "int ticks"
+.Ft void
.Fn "timeout_del" "struct timeout *to"
+.Ft int
.Fn "timeout_pending" "struct timeout *to"
+.Ft int
.Fn "timeout_initialized" "struct timeout *to"
.Sh DESCRIPTION
The