errno-base.h revision 655a7c081f83b8351ed5f11a6c6accd9458293a8
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/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24#define ESRCH 3 25#define EINTR 4 26#define EIO 5 27#define ENXIO 6 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29#define E2BIG 7 30#define ENOEXEC 8 31#define EBADF 9 32#define ECHILD 10 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34#define EAGAIN 11 35#define ENOMEM 12 36#define EACCES 13 37#define EFAULT 14 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39#define ENOTBLK 15 40#define EBUSY 16 41#define EEXIST 17 42#define EXDEV 18 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44#define ENODEV 19 45#define ENOTDIR 20 46#define EISDIR 21 47#define EINVAL 22 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49#define ENFILE 23 50#define EMFILE 24 51#define ENOTTY 25 52#define ETXTBSY 26 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54#define EFBIG 27 55#define ENOSPC 28 56#define ESPIPE 29 57#define EROFS 30 58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59#define EMLINK 31 60#define EPIPE 32 61#define EDOM 33 62#define ERANGE 34 63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64#endif 65