ENODEV The device prefix of filename did not exist. ENOTDIR A non-final component of pathname was not a directory. ENOENT The named file does not exist. EIO A hard I/O error occurred. EFAULT statbuf points to an invalid address.