diff options
author | jlemon <jlemon@FreeBSD.org> | 2001-07-19 18:35:19 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2001-07-19 18:35:19 +0000 |
commit | 303231dd3fd16964c4a7ce80d6dd151b45e87f2f (patch) | |
tree | 40a47cbeaad0f1ae89128c16a6178747f18a6a4f | |
parent | 6279f096ec23ca04189be5522d4212796a04b454 (diff) | |
download | FreeBSD-src-303231dd3fd16964c4a7ce80d6dd151b45e87f2f.zip FreeBSD-src-303231dd3fd16964c4a7ce80d6dd151b45e87f2f.tar.gz |
Document EVFILT_TIMER.
MFC after: 1 week
-rw-r--r-- | lib/libc/sys/kqueue.2 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 4d5ee64..d39839b 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 |