EACCES |
Search permission is denied on a component of the path prefix. |
EFAULT |
The Path parameter points outside of the allocated address space of the process. |
EIO |
An I/O error occurred during the operation. |
ELOOP |
Too many symbolic links were encountered in translating the Path parameter. |
ENAMETOOLONG |
A component of a path name exceeded 255 characters and the process has the DisallowTruncation attribute (see the ulimit subroutine) or an entire path name exceeded 1023 characters. |
ENOENT |
A component of the path prefix does not exist. |
ENOENT |
A symbolic link was named, but the file to which it refers does not exist. |
ENOENT |
The path name is null. |
ENOTDIR |
A component of the path prefix is not a directory. |
ESTALE |
The root or current directory of the process is located in a virtual file system that is unmounted. |