summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-05-20 18:39:42 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-05-20 18:39:42 +0000
commit6aeac98cc4563d3457c133ee008933bb6742ae7b (patch)
tree43a86d47370c740a0f41116cbb4650338db08afd /lib/libc/sys
parente766c5068563d12d601b300eaae9029dbf43d323 (diff)
Document ENXIO error condicion when the named file is a FIFO and
flags include O_NONBLOCK|O_WRONLY. Closes PR 3265.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/open.28
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 7aac8780573..01ccd32a7ba 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: open.2,v 1.28 2003/04/02 19:00:26 jmc Exp $
+.\" $OpenBSD: open.2,v 1.29 2003/05/20 18:39:41 millert Exp $
.\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -232,6 +232,12 @@ The system file table is full.
The named file is a character special or block
special file, and the device associated with this special file
does not exist.
+.It Bq Er ENXIO
+The named file is a FIFO, the
+.Dv O_NONBLOCK
+and
+.Dv O_WRONLY
+flags are set, and no process has the file open for reading.
.It Bq Er EINTR
The
.Fn open