From e725a1299aea95219d728ead0d6a96466eb3b729 Mon Sep 17 00:00:00 2001 From: Jonathan Lemon Date: Thu, 19 Jul 2001 18:35:19 +0000 Subject: [PATCH] Document EVFILT_TIMER. MFC after: 1 week --- lib/libc/sys/kqueue.2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 4d5ee64209b9..d39839b5aa17 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -364,6 +364,18 @@ signal delivery processing. returns the number of times the signal has occurred since the last call to .Fn kevent . This filter automatically sets the EV_CLEAR flag internally. +.It EVFILT_TIMER +Establishes an arbitrary timer identified by +.Va ident . +When adding a timer, +.Va data +specifies the timeout period in milliseconds. +The timer will be periodic unless EV_ONESHOT is specified. +On return, +.Va data +conatains the number of times the timeout has expired since the last call to +.Fn kevent . +This filter automatically sets the EV_CLEAR flag internally. .El .Sh RETURN VALUES .Fn kqueue