summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-04-08 22:47:56 +0000
committerderaadt <deraadt@openbsd.org>1997-04-08 22:47:56 +0000
commit462c3d546de19c0dbd06c209497d3994b261439a (patch)
tree67dc565ee4801f173d6d11b03ff365e128f73ea0 /lib/libc
parentpretty (diff)
downloadwireguard-openbsd-462c3d546de19c0dbd06c209497d3994b261439a.tar.xz
wireguard-openbsd-462c3d546de19c0dbd06c209497d3994b261439a.zip
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 ,