diff options
author | jmg <jmg@FreeBSD.org> | 2003-10-20 02:29:16 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2003-10-20 02:29:16 +0000 |
commit | a41bb92cf2be897e934752f3ee33715d5c31ea9e (patch) | |
tree | 214965429cca179d472a88ce5c4681681e919493 /lib/libc/sys/kqueue.2 | |
parent | 4c4e7a9593e78be47efad6a95369b92b18d64899 (diff) | |
download | FreeBSD-src-a41bb92cf2be897e934752f3ee33715d5c31ea9e.zip FreeBSD-src-a41bb92cf2be897e934752f3ee33715d5c31ea9e.tar.gz |
document the fact that kqueue will immediately return and not timeout when
nevents is 0.
PR: kern/45291
Diffstat (limited to 'lib/libc/sys/kqueue.2')
-rw-r--r-- | lib/libc/sys/kqueue.2 | 8 |
1 files changed, 8 insertions, 0 deletions
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 |