ENODEV The device prefix of pathname did not exist. ENOTDIR A non-final component of pathname was not a directory. ENOTDIR pathname did not refer to a directory. ENOENT pathname did not exist. EIO A hard I/O error occurred. EFAULT pathname was an invalid pointer.