1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _ASM_GENERIC_ERRNO_BASE_H 20 #define _ASM_GENERIC_ERRNO_BASE_H 21 #define EPERM 1 22 #define ENOENT 2 23 #define ESRCH 3 24 #define EINTR 4 25 #define EIO 5 26 #define ENXIO 6 27 #define E2BIG 7 28 #define ENOEXEC 8 29 #define EBADF 9 30 #define ECHILD 10 31 #define EAGAIN 11 32 #define ENOMEM 12 33 #define EACCES 13 34 #define EFAULT 14 35 #define ENOTBLK 15 36 #define EBUSY 16 37 #define EEXIST 17 38 #define EXDEV 18 39 #define ENODEV 19 40 #define ENOTDIR 20 41 #define EISDIR 21 42 #define EINVAL 22 43 #define ENFILE 23 44 #define EMFILE 24 45 #define ENOTTY 25 46 #define ETXTBSY 26 47 #define EFBIG 27 48 #define ENOSPC 28 49 #define ESPIPE 29 50 #define EROFS 30 51 #define EMLINK 31 52 #define EPIPE 32 53 #define EDOM 33 54 #define ERANGE 34 55 #endif 56