open.2: ERRORS: document EINVAL error for invalid filename

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-09-29 11:40:03 +02:00
parent cd37d57ed6
commit 5c6f8de052
1 changed files with 9 additions and 0 deletions

View File

@ -993,6 +993,15 @@ nor
.B O_RDWR
was specified.
.TP
.B EINVAL
.B O_CREAT
was specified in
.I flags
and the final component ("basename") of the new file's
.I pathname
is invalid
(e.g., it contains characters not permitted by the underlying filesystem).
.TP
.B EISDIR
.I pathname
refers to a directory and the access requested involved writing