summaryrefslogtreecommitdiff
path: root/lib/libc/sys/kqueue.2
diff options
context:
space:
mode:
authorCeri Davies <ceri@FreeBSD.org>2006-09-02 17:08:40 +0000
committerCeri Davies <ceri@FreeBSD.org>2006-09-02 17:08:40 +0000
commit8dd6d14ccb389e8c57b7a8fe934934b626f78312 (patch)
treee6266ee78966dcf30e49bc1dbef8f07ac9f68d1c /lib/libc/sys/kqueue.2
parent8ae6bc05ba9c2a788e17ed7d6193ad3f768fd14c (diff)
Notes
Diffstat (limited to 'lib/libc/sys/kqueue.2')
-rw-r--r--lib/libc/sys/kqueue.213
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2
index b59795073bfe..20a64adac381 100644
--- a/lib/libc/sys/kqueue.2
+++ b/lib/libc/sys/kqueue.2
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 4, 2005
+.Dd September 2, 2006
.Dt KQUEUE 2
.Os
.Sh NAME
@@ -418,6 +418,10 @@ On return,
contains the number of times the timeout has expired since the last call to
.Fn kevent .
This filter automatically sets the EV_CLEAR flag internally.
+There is a system wide limit on the number of timers
+which is controlled by the
+.Va kern.kq_calloutmax
+sysctl.
.It Dv EVFILT_NETDEV
Takes a descriptor to a network interface as the identifier, and the events to watch for in
.Va fflags .
@@ -504,7 +508,12 @@ The specified time limit or filter is invalid.
.It Bq Er ENOENT
The event could not be found to be modified or deleted.
.It Bq Er ENOMEM
-No memory was available to register the event.
+No memory was available to register the event
+or, in the special case of a timer, the maximum number of
+timers has been exceeded.
+This maximum is configurable via the
+.Va kern.kq_calloutmax
+sysctl.
.It Bq Er ESRCH
The specified process to attach to does not exist.
.El