Nick Kralevich | a67e4de | 2013-01-14 11:28:26 -0800 | [diff] [blame] | 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 | ****************************************************************************/ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 19 | #ifndef _ASM_GENERIC_ERRNO_BASE_H |
| 20 | #define _ASM_GENERIC_ERRNO_BASE_H |
| 21 | #define EPERM 1 |
| 22 | #define ENOENT 2 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 23 | #define ESRCH 3 |
| 24 | #define EINTR 4 |
| 25 | #define EIO 5 |
| 26 | #define ENXIO 6 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 27 | #define E2BIG 7 |
| 28 | #define ENOEXEC 8 |
| 29 | #define EBADF 9 |
| 30 | #define ECHILD 10 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 31 | #define EAGAIN 11 |
| 32 | #define ENOMEM 12 |
| 33 | #define EACCES 13 |
| 34 | #define EFAULT 14 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 35 | #define ENOTBLK 15 |
| 36 | #define EBUSY 16 |
| 37 | #define EEXIST 17 |
| 38 | #define EXDEV 18 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 39 | #define ENODEV 19 |
| 40 | #define ENOTDIR 20 |
| 41 | #define EISDIR 21 |
| 42 | #define EINVAL 22 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 43 | #define ENFILE 23 |
| 44 | #define EMFILE 24 |
| 45 | #define ENOTTY 25 |
| 46 | #define ETXTBSY 26 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 47 | #define EFBIG 27 |
| 48 | #define ENOSPC 28 |
| 49 | #define ESPIPE 29 |
| 50 | #define EROFS 30 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 51 | #define EMLINK 31 |
| 52 | #define EPIPE 32 |
| 53 | #define EDOM 33 |
| 54 | #define ERANGE 34 |
Nick Kralevich | a67e4de | 2013-01-14 11:28:26 -0800 | [diff] [blame] | 55 | #endif |