summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-03-02 21:15:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-03-02 21:15:35 +0000
commit017a3b07bf7632a365c046da53e5c250f9a6e5a8 (patch)
treeaf506645ce96cb5241853f6cd9fc17aab884838b /lib
parent495a070afe2f2d0a6d7d2ea287cc0005ec47e6e8 (diff)
Document out-of-band data on a socket as an example of an exceptional
condition.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/select.26
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2
index 6059de3cea3..4b9346b4734 100644
--- a/lib/libc/sys/select.2
+++ b/lib/libc/sys/select.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: select.2,v 1.37 2014/03/13 10:12:11 florian Exp $
+.\" $OpenBSD: select.2,v 1.38 2015/03/02 21:15:34 millert Exp $
.\" $NetBSD: select.2,v 1.5 1995/06/27 22:32:28 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)select.2 8.2 (Berkeley) 3/25/94
.\"
-.Dd $Mdocdate: March 13 2014 $
+.Dd $Mdocdate: March 2 2015 $
.Dt SELECT 2
.Os
.Sh NAME
@@ -57,6 +57,8 @@ and
to see if some of their descriptors
are ready for reading, are ready for writing, or have an exceptional
condition pending, respectively.
+Exceptional conditions include the presence of out-of-band data
+on a socket.
The first
.Fa nfds
descriptors are checked in each set;