summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-11-03 23:06:24 +0000
committerjilles <jilles@FreeBSD.org>2013-11-03 23:06:24 +0000
commit83816cd1d5f9ad93a052064d409da3cf98113384 (patch)
tree9c8f1097606244787f6213d4c78539cd7ab1a792 /lib
parent07ca1c7f0509837763e71bb2f90268aead299e8d (diff)
downloadFreeBSD-src-83816cd1d5f9ad93a052064d409da3cf98113384.zip
FreeBSD-src-83816cd1d5f9ad93a052064d409da3cf98113384.tar.gz
kqueue: Change error for kqueues rlimit from EMFILE to ENOMEM and document
this error condition in the kqueue(2) manual page. Discussed with: kib
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/kqueue.29
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2
index ed3a8ad..75c8207 100644
--- a/lib/libc/sys/kqueue.2
+++ b/lib/libc/sys/kqueue.2
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 21, 2013
+.Dd November 4, 2013
.Dt KQUEUE 2
.Os
.Sh NAME
@@ -532,6 +532,13 @@ system call fails if:
.Bl -tag -width Er
.It Bq Er ENOMEM
The kernel failed to allocate enough memory for the kernel queue.
+.It Bq Er ENOMEM
+The
+.Dv RLIMIT_KQUEUES
+rlimit
+(see
+.Xr getrlimit 2 )
+for the current user would be exceeded.
.It Bq Er EMFILE
The per-process descriptor table is full.
.It Bq Er ENFILE
OpenPOWER on IntegriCloud