summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@cardoe.com>2013-08-16 15:57:47 -0500
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-09-02 07:49:45 +0200
commitef4901931ab0ea5eef6a5e7072d939b31992d84c (patch)
tree2555aa913b43d8b774446d8ab729b1d557d080c5
parentf7dbb1ea6228194bd4c0d673b1aac5a79441a2d6 (diff)
open.2: Add EINVAL to errors list
EINVAL can be returned by open(2) when the underlying filesystem doesn't support O_DIRECT. It is documented in the NOTES section but this patch adds it to the list of possible errors. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/open.27
1 files changed, 7 insertions, 0 deletions
diff --git a/man2/open.2 b/man2/open.2
index 9ebc0a03..93a9e7de 100644
--- a/man2/open.2
+++ b/man2/open.2
@@ -611,6 +611,13 @@ While blocked waiting to complete an open of a slow device
the call was interrupted by a signal handler; see
.BR signal (7).
.TP
+.B EINVAL
+The filesystem does not support the
+.BR O_DIRECT
+flag. See
+.BR NOTES
+for more information.
+.TP
.B EISDIR
.I pathname
refers to a directory and the access requested involved writing