diff options
author | ru <ru@FreeBSD.org> | 2000-12-29 09:18:45 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-12-29 09:18:45 +0000 |
commit | 17ba2140980343f6298e96bd96d2e0c16b9dfb46 (patch) | |
tree | fa86ee6469463baf5401eb48b33f4451db7b2f20 /share/man/man9/timeout.9 | |
parent | 42aaa8ad04e1e8eb1058cea549112273857df290 (diff) | |
download | FreeBSD-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.9 | 12 |
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 |