X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/7e41aa883dd258f888d0470250eead40a53ef1f5..3903760236c30e3b5ace7a4eefac3a269d68957c:/bsd/man/man2/mkdir.2 diff --git a/bsd/man/man2/mkdir.2 b/bsd/man/man2/mkdir.2 index 11f934240..249662258 100644 --- a/bsd/man/man2/mkdir.2 +++ b/bsd/man/man2/mkdir.2 @@ -98,7 +98,7 @@ A 0 return value indicates success. A -1 return value indicates an error, and an error code is stored in .Va errno . .Sh ERRORS -.Fn Mkdir +.Fn mkdir will fail and no directory will be created if: .Bl -tag -width Er .\" ========== @@ -131,6 +131,9 @@ or allocating the inode. .It Bq Er EIO An I/O error occurred while reading from or writing to the file system. .\" ========== +.It Bq Er EISDIR +The named file is the root directory. +.\" ========== .It Bq Er ELOOP Too many symbolic links were encountered in translating the pathname. This is taken to be indicative of a looping symbolic link.