pub enum HostErrno {
Show 20 variants
EPERM = 1,
ENOENT = 2,
EINTR = 4,
EBADF = 9,
EACCES = 13,
EFAULT = 14,
EBUSY = 16,
EEXIST = 17,
ENODEV = 19,
ENOTDIR = 20,
EISDIR = 21,
EINVAL = 22,
ENFILE = 23,
EMFILE = 24,
EFBIG = 27,
ENOSPC = 28,
ESPIPE = 29,
EROFS = 30,
ENAMETOOLONG = 91,
EUNKNOWN = 9_999,
}
Expand description
Errno values for Host I/O operations.
Variants§
EPERM = 1
Operation not permitted (POSIX.1-2001).
ENOENT = 2
No such file or directory (POSIX.1-2001).
Typically, this error results when a specified pathname does not exist, or one of the components in the directory prefix of a pathname does not exist, or the specified pathname is a dangling symbolic link.
EINTR = 4
Interrupted function call (POSIX.1-2001); see signal(7).
EBADF = 9
Bad file descriptor (POSIX.1-2001).
EACCES = 13
Permission denied (POSIX.1-2001).
EFAULT = 14
Bad address (POSIX.1-2001).
EBUSY = 16
Device or resource busy (POSIX.1-2001).
EEXIST = 17
File exists (POSIX.1-2001).
ENODEV = 19
No such device (POSIX.1-2001).
ENOTDIR = 20
Not a directory (POSIX.1-2001).
EISDIR = 21
Is a directory (POSIX.1-2001).
EINVAL = 22
Invalid argument (POSIX.1-2001).
ENFILE = 23
Too many open files in system (POSIX.1-2001). On Linux, this is probably a result of encountering the /proc/sys/fs/file-max limit (see proc(5)).
EMFILE = 24
Too many open files (POSIX.1-2001). Commonly caused by exceeding the RLIMIT_NOFILE resource limit described in getrlimit(2).
EFBIG = 27
File too large (POSIX.1-2001).
ENOSPC = 28
No space left on device (POSIX.1-2001).
ESPIPE = 29
Invalid seek (POSIX.1-2001).
EROFS = 30
Read-only filesystem (POSIX.1-2001).
ENAMETOOLONG = 91
Filename too long (POSIX.1-2001).
EUNKNOWN = 9_999
Unknown errno - there may not be a GDB mapping for this value