linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add EINVAL to errors list of open(2)
@ 2013-08-16 20:57 Doug Goldstein
       [not found] ` <1376686667-6686-1-git-send-email-cardoe-VPKZcK2rSRzQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Doug Goldstein @ 2013-08-16 20:57 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Doug Goldstein

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.
---
 man2/open.2 | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/man2/open.2 b/man2/open.2
index 9ebc0a0..93a9e7d 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
-- 
1.8.1.5

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-02  5:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-16 20:57 [PATCH] Add EINVAL to errors list of open(2) Doug Goldstein
     [not found] ` <1376686667-6686-1-git-send-email-cardoe-VPKZcK2rSRzQT0dZR+AlfA@public.gmane.org>
2013-09-02  5:50   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).