diff options
author | glebius <glebius@FreeBSD.org> | 2004-12-29 08:01:24 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2004-12-29 08:01:24 +0000 |
commit | ca1ed9d9a87367cec201b2cd1db8ecd2c8afbdcd (patch) | |
tree | 64a0cb389897289fbac93abb8fd097c692387077 /share | |
parent | 9f520936d630b60bf7f2707590cde7ab6690cfd5 (diff) | |
download | FreeBSD-src-ca1ed9d9a87367cec201b2cd1db8ecd2c8afbdcd.zip FreeBSD-src-ca1ed9d9a87367cec201b2cd1db8ecd2c8afbdcd.tar.gz |
Document callout_pending() macro.
MFC after: 1 week
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/timeout.9 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9 index 94325ce..4c3ee59 100644 --- a/share/man/man9/timeout.9 +++ b/share/man/man9/timeout.9 @@ -36,7 +36,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 10, 1996 +.Dd December 29, 2004 .Dt TIMEOUT 9 .Os .Sh NAME @@ -73,6 +73,7 @@ struct callout_handle handle = CALLOUT_HANDLE_INITIALIZER(&handle) .Fn callout_drain "struct callout *c" .Ft void .Fn callout_reset "struct callout *c" "int ticks" "timeout_t *func" "void *arg" +.Fn callout_pending "struct callout *c" .Sh DESCRIPTION The function .Fn timeout @@ -218,6 +219,10 @@ first calls to disestablish the callout, and then establishes a new callout in the same manner as .Fn timeout . +.Pp +The macro +.Fn callout_pending +can be used to check whether callout is pending. .Sh RETURN VALUES The .Fn timeout |