summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-04-08 22:47:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-04-08 22:47:57 +0000
commit674a4a1451d0f7b67c93e8b86ffb5d7463597990 (patch)
treed1047921483c8df6d6c34d6ca570418464d6526a /lib/libc
parentf52afc6787c8bd66210963f94601a87c0d7e7605 (diff)
doc EFAULT and xref poll(2)
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/select.28
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2
index 5e3c9abc62f..6ffc0e569d7 100644
--- a/lib/libc/sys/select.2
+++ b/lib/libc/sys/select.2
@@ -140,6 +140,13 @@ An error return from
.Fn select
indicates:
.Bl -tag -width Er
+.It Bq Er EFAULT
+One or more of
+.Fa readfds ,
+.Fa writefds ,
+or
+.Fa exceptfds
+points outside the process's allocated address space.
.It Bq Er EBADF
One of the descriptor sets specified an invalid descriptor.
.It Bq Er EINTR
@@ -154,6 +161,7 @@ negative or too large.
.Xr connect 2 ,
.Xr getdtablesize 2 ,
.Xr gettimeofday 2 ,
+.Xr poll 2 ,
.Xr read 2 ,
.Xr recv 2 ,
.Xr send 2 ,