diff options
author | 2003-05-20 18:39:41 +0000 | |
---|---|---|
committer | 2003-05-20 18:39:41 +0000 | |
commit | 1aa692e16e90948fad7de96e5f3ef63c22c856d7 (patch) | |
tree | c28b1872517f43b4170fc872bea5f8c654d5083b /lib/libc/sys/open.2 | |
parent | typo; (diff) | |
download | wireguard-openbsd-1aa692e16e90948fad7de96e5f3ef63c22c856d7.tar.xz wireguard-openbsd-1aa692e16e90948fad7de96e5f3ef63c22c856d7.zip |
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/open.2')
-rw-r--r-- | lib/libc/sys/open.2 | 8 |
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 |