From a41bb92cf2be897e934752f3ee33715d5c31ea9e Mon Sep 17 00:00:00 2001 From: jmg Date: Mon, 20 Oct 2003 02:29:16 +0000 Subject: document the fact that kqueue will immediately return and not timeout when nevents is 0. PR: kern/45291 --- lib/libc/sys/kqueue.2 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib') diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index d0abe55..73a760e 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -113,6 +113,14 @@ The argument determines the size of .Fa eventlist . +When +.Fa nevents +is zero, +.Fn kevent +will return immediately even if there is a +.Fa timeout +specified unlike +.Xr select 2 . If .Fa timeout is a non-NULL pointer, it specifies a maximum interval to wait -- cgit v1.1