summaryrefslogtreecommitdiffstats
path: root/share/man/man9/timeout.9
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-12-29 09:18:45 +0000
committerru <ru@FreeBSD.org>2000-12-29 09:18:45 +0000
commit17ba2140980343f6298e96bd96d2e0c16b9dfb46 (patch)
treefa86ee6469463baf5401eb48b33f4451db7b2f20 /share/man/man9/timeout.9
parent42aaa8ad04e1e8eb1058cea549112273857df290 (diff)
downloadFreeBSD-src-17ba2140980343f6298e96bd96d2e0c16b9dfb46.zip
FreeBSD-src-17ba2140980343f6298e96bd96d2e0c16b9dfb46.tar.gz
Prepare for mdoc(7)NG.
Diffstat (limited to 'share/man/man9/timeout.9')
-rw-r--r--share/man/man9/timeout.912
1 files changed, 8 insertions, 4 deletions
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9
index 8f7db5d..2040fe3 100644
--- a/share/man/man9/timeout.9
+++ b/share/man/man9/timeout.9
@@ -50,14 +50,18 @@
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/systm.h>
-.Ft typedef void timeout_t \*(lpvoid *\*(rp;
-
+.Pp
+.Bd -literal
+typedef void timeout_t (void *);
+.Ed
.Ft struct callout_handle
.Fn timeout "timeout_t *func" "void *arg" "int ticks"
.Ft void
.Fn callout_handle_init "struct callout_handle *handle"
-
-.Li struct callout_handle handle = CALLOUT_HANDLE_INITIALIZER(&handle)
+.Pp
+.Bd -literal
+struct callout_handle handle = CALLOUT_HANDLE_INITIALIZER(&handle)
+.Ed
.Ft void
.Fn untimeout "timeout_t *func" "void *arg" "struct callout_handle handle"
.Ft void
OpenPOWER on IntegriCloud