diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-03-15 23:21:40 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-03-15 23:21:40 +0000 |
commit | cc245ceb9e7821dfc247161ea15e9f80eafb44ea (patch) | |
tree | 1dc031564b0eb13df60c0729bea1899229f36bc8 /share/man/man9/timeout.9 | |
parent | 4e86011290953ecbcd38757b9a78aa276edb93b0 (diff) |
Document timeout_triggered
Diffstat (limited to 'share/man/man9/timeout.9')
-rw-r--r-- | share/man/man9/timeout.9 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9 index 77c24d0e112..afdd20b1ee6 100644 --- a/share/man/man9/timeout.9 +++ b/share/man/man9/timeout.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: timeout.9,v 1.12 2001/02/16 13:30:48 espie Exp $ +.\" $OpenBSD: timeout.9,v 1.13 2001/03/15 23:21:39 csapuntz Exp $ .\" .\" Copyright (c) 2000 Artur Grabowski <art@openbsd.org> .\" All rights reserved. @@ -49,6 +49,8 @@ .Fn "timeout_pending" "struct timeout *to" .Ft int .Fn "timeout_initialized" "struct timeout *to" +.Ft int +.Fn "timeout_triggered" "struct timeout *to" .Sh DESCRIPTION The .Nm timeout @@ -137,6 +139,15 @@ The .Fn timeout_initialized macro can be used to check if a timeout has been initialized. .Pp +The +.Fn timeout_triggered +macro can be used to check if a timeout is running or has been run. +The +.Fn timeout_add +and +.Fn timeout_del +functions clear the triggered state for that timeout. +.Pp The old .Fn timeout and |