blob: bdfb8111dd9f47368cc040e4df4839b43bd582c5 [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
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 Cheng655a7c02013-10-16 16:09:24 -070019#ifndef _ASM_GENERIC_ERRNO_BASE_H
20#define _ASM_GENERIC_ERRNO_BASE_H
21#define EPERM 1
22#define ENOENT 2
Ben Cheng655a7c02013-10-16 16:09:24 -070023#define ESRCH 3
24#define EINTR 4
25#define EIO 5
26#define ENXIO 6
Ben Cheng655a7c02013-10-16 16:09:24 -070027#define E2BIG 7
28#define ENOEXEC 8
29#define EBADF 9
30#define ECHILD 10
Ben Cheng655a7c02013-10-16 16:09:24 -070031#define EAGAIN 11
32#define ENOMEM 12
33#define EACCES 13
34#define EFAULT 14
Ben Cheng655a7c02013-10-16 16:09:24 -070035#define ENOTBLK 15
36#define EBUSY 16
37#define EEXIST 17
38#define EXDEV 18
Ben Cheng655a7c02013-10-16 16:09:24 -070039#define ENODEV 19
40#define ENOTDIR 20
41#define EISDIR 21
42#define EINVAL 22
Ben Cheng655a7c02013-10-16 16:09:24 -070043#define ENFILE 23
44#define EMFILE 24
45#define ENOTTY 25
46#define ETXTBSY 26
Ben Cheng655a7c02013-10-16 16:09:24 -070047#define EFBIG 27
48#define ENOSPC 28
49#define ESPIPE 29
50#define EROFS 30
Ben Cheng655a7c02013-10-16 16:09:24 -070051#define EMLINK 31
52#define EPIPE 32
53#define EDOM 33
54#define ERANGE 34
Nick Kralevicha67e4de2013-01-14 11:28:26 -080055#endif