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 | |
parent | 4e86011290953ecbcd38757b9a78aa276edb93b0 (diff) |
Document timeout_triggered
-rw-r--r-- | share/man/man9/Makefile | 5 | ||||
-rw-r--r-- | share/man/man9/timeout.9 | 13 |
2 files changed, 15 insertions, 3 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 929f829db38..0608e3c37f1 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.33 2001/03/10 06:44:17 csapuntz Exp $ +# $OpenBSD: Makefile,v 1.34 2001/03/15 23:21:39 csapuntz Exp $ # $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -86,7 +86,8 @@ MLINKS+=store.9 subyte.9 store.9 suibyte.9 store.9 susword.9 \ MLINKS+=time.9 boottime.9 time.9 mono_time.9 time.9 runtime.9 MLINKS+=timeout.9 timeout_add.9 timeout.9 timeout_set.9 \ timeout.9 timeout_pending.9 timeout.9 timeout_del.9 \ - timeout.9 timeout_initialized.9 timeout.9 untimeout.9 + timeout.9 timeout_initialized.9 timeout.9 untimeout.9 \ + timeout.9 timeout_triggered.9 MLINKS+=vm_map_copy.9 vm_copy.9 MLINKS+=vm_map_inherit.9 vm_inherit.9 MLINKS+=vm_map_protect.9 vm_protect.9 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 |