| [ENOTDIR] |
| | A component of the path prefix is not a directory. |
| [ENAMETOOLONG] |
| | A component of a pathname exceeded 255 characters, or an entire path name exceeded 1023 characters. |
| [ENOENT] |
| | The named file does not exist. |
| [EACCES] |
| | Search permission is denied for a component of the path prefix. |
| [EACCES] |
| | The named file is not writable by the user. |
| [ELOOP] |
| | Too many symbolic links were encountered in translating the pathname. |
| [EISDIR] |
| | The named file is a directory. |
| [EROFS] |
| | The named file resides on a read-only file system. |
| [ETXTBSY] |
| | The file is a pure procedure (shared text) file that is being executed. |
| [EIO] | An I/O error occurred updating the inode. |
| [EFAULT] |
| | The path argument points outside the processs allocated address space. |
|