summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-07 02:24:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-07 02:24:35 +0000
commite0d34223f5902afe9912fdecdbee2557b095c93a (patch)
treec2db4c725600322220791b85f25649d48cb40741 /lib/libc
parent8f2506ae6e53c6e60bb719e41e203a97a5a5a9bd (diff)
poll is not a wrapper around select
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/poll.29
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2
index f07df83eaec..7e075249add 100644
--- a/lib/libc/sys/poll.2
+++ b/lib/libc/sys/poll.2
@@ -142,11 +142,6 @@ can be used to generate simple timeouts. This functionality may be achieved
by passing a NULL pointer for
.Pa fds .
.Sh WARNINGS
-Since this implementation is a wrapper around
-.Fn select ,
-functionality is limited to such. There is no differentiation between
-standard and priority messages in the read or write queues.
-.Pp
The
.Nm POLLHUP
flag is only a close approximation and may not always be accurate.
@@ -177,7 +172,7 @@ member of the
structure.
.It Bq Er EINVAL
The timeout passed to
-.Fn select
+.Fn poll
was too large.
.It Bq Er EAGAIN
Resource allocation failed inside of
@@ -186,7 +181,7 @@ Subsequent calls to
.Fn poll
may succeed.
.It Bq Er EINTR
-.Fn Select
+.Fn poll
caught a signal during the polling process.
.El
.Sh SEE ALSO