summaryrefslogtreecommitdiff
path: root/lib/libsndio/sio_open.3
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-11-16 21:52:59 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-11-16 21:52:59 +0000
commit73088d3631728585cbad3dbb69c90b45cdd7368b (patch)
tree6fd907cf9fd42617d0a274d4ee22e08d79ebb7bb /lib/libsndio/sio_open.3
parente77bf0ea22335bfc54045f3a7465faf060eb1227 (diff)
document that sio_revents() can return POLLHUP
Diffstat (limited to 'lib/libsndio/sio_open.3')
-rw-r--r--lib/libsndio/sio_open.37
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libsndio/sio_open.3 b/lib/libsndio/sio_open.3
index 47e80608780..0b50545ff08 100644
--- a/lib/libsndio/sio_open.3
+++ b/lib/libsndio/sio_open.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sio_open.3,v 1.6 2008/11/11 21:45:03 jmc Exp $
+.\" $OpenBSD: sio_open.3,v 1.7 2008/11/16 21:52:58 ratchov Exp $
.\"
.\" Copyright (c) 2007 Alexandre Ratchov <alex@caoua.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 11 2008 $
+.Dd $Mdocdate: November 16 2008 $
.Dt SIO_OPEN 3
.Os
.Sh NAME
@@ -488,6 +488,9 @@ If
is set,
.Fn sio_write
can be called without blocking.
+POLLHUP may be set if an error occures, even if
+it is not selected with
+.Fn sio_pollfd .
.Pp
The
.Fn sio_nfds