1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef _ASM_GENERIC_ERRNO_BASE_H 7 #define _ASM_GENERIC_ERRNO_BASE_H 8 #define EPERM 1 9 #define ENOENT 2 10 #define ESRCH 3 11 #define EINTR 4 12 #define EIO 5 13 #define ENXIO 6 14 #define E2BIG 7 15 #define ENOEXEC 8 16 #define EBADF 9 17 #define ECHILD 10 18 #define EAGAIN 11 19 #define ENOMEM 12 20 #define EACCES 13 21 #define EFAULT 14 22 #define ENOTBLK 15 23 #define EBUSY 16 24 #define EEXIST 17 25 #define EXDEV 18 26 #define ENODEV 19 27 #define ENOTDIR 20 28 #define EISDIR 21 29 #define EINVAL 22 30 #define ENFILE 23 31 #define EMFILE 24 32 #define ENOTTY 25 33 #define ETXTBSY 26 34 #define EFBIG 27 35 #define ENOSPC 28 36 #define ESPIPE 29 37 #define EROFS 30 38 #define EMLINK 31 39 #define EPIPE 32 40 #define EDOM 33 41 #define ERANGE 34 42 #endif 43