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

Reported-by: Raghavendra D Prabhu <me@rdprabhu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-09-29 11:35:22 +02:00
parent c6822f6930
commit cd37d57ed6
1 changed files with 6 additions and 0 deletions

View File

@ -146,6 +146,12 @@ is a symbolic link, dangling or not.
.B EFAULT
.IR pathname " points outside your accessible address space."
.TP
.B EINVAL
The final component ("basename") of the new directory's
.I pathname
is invalid
(e.g., it contains characters not permitted by the underlying filesystem).
.TP
.B ELOOP
Too many symbolic links were encountered in resolving
.IR pathname .