^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef _ASM_GENERIC_ERRNO_BASE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define _ASM_GENERIC_ERRNO_BASE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #define EPERM 1 /* Operation not permitted */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #define ENOENT 2 /* No such file or directory */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #define ESRCH 3 /* No such process */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #define EINTR 4 /* Interrupted system call */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #define EIO 5 /* I/O error */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define ENXIO 6 /* No such device or address */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define E2BIG 7 /* Argument list too long */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #define ENOEXEC 8 /* Exec format error */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define EBADF 9 /* Bad file number */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #define ECHILD 10 /* No child processes */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define EAGAIN 11 /* Try again */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define ENOMEM 12 /* Out of memory */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #define EACCES 13 /* Permission denied */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #define EFAULT 14 /* Bad address */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #define ENOTBLK 15 /* Block device required */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #define EBUSY 16 /* Device or resource busy */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #define EEXIST 17 /* File exists */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #define EXDEV 18 /* Cross-device link */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #define ENODEV 19 /* No such device */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #define ENOTDIR 20 /* Not a directory */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #define EISDIR 21 /* Is a directory */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #define EINVAL 22 /* Invalid argument */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #define ENFILE 23 /* File table overflow */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) #define EMFILE 24 /* Too many open files */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) #define ENOTTY 25 /* Not a typewriter */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #define ETXTBSY 26 /* Text file busy */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #define EFBIG 27 /* File too large */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #define ENOSPC 28 /* No space left on device */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) #define ESPIPE 29 /* Illegal seek */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) #define EROFS 30 /* Read-only file system */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) #define EMLINK 31 /* Too many links */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) #define EPIPE 32 /* Broken pipe */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) #define EDOM 33 /* Math argument out of domain of func */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) #define ERANGE 34 /* Math result not representable */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) #endif