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_H
20 #define _ASM_GENERIC_ERRNO_H
21 #include <asm-generic/errno-base.h>
22 #define EDEADLK 35
23 #define ENAMETOOLONG 36
24 #define ENOLCK 37
25 #define ENOSYS 38
26 #define ENOTEMPTY 39
27 #define ELOOP 40
28 #define EWOULDBLOCK EAGAIN
29 #define ENOMSG 42
30 #define EIDRM 43
31 #define ECHRNG 44
32 #define EL2NSYNC 45
33 #define EL3HLT 46
34 #define EL3RST 47
35 #define ELNRNG 48
36 #define EUNATCH 49
37 #define ENOCSI 50
38 #define EL2HLT 51
39 #define EBADE 52
40 #define EBADR 53
41 #define EXFULL 54
42 #define ENOANO 55
43 #define EBADRQC 56
44 #define EBADSLT 57
45 #define EDEADLOCK EDEADLK
46 #define EBFONT 59
47 #define ENOSTR 60
48 #define ENODATA 61
49 #define ETIME 62
50 #define ENOSR 63
51 #define ENONET 64
52 #define ENOPKG 65
53 #define EREMOTE 66
54 #define ENOLINK 67
55 #define EADV 68
56 #define ESRMNT 69
57 #define ECOMM 70
58 #define EPROTO 71
59 #define EMULTIHOP 72
60 #define EDOTDOT 73
61 #define EBADMSG 74
62 #define EOVERFLOW 75
63 #define ENOTUNIQ 76
64 #define EBADFD 77
65 #define EREMCHG 78
66 #define ELIBACC 79
67 #define ELIBBAD 80
68 #define ELIBSCN 81
69 #define ELIBMAX 82
70 #define ELIBEXEC 83
71 #define EILSEQ 84
72 #define ERESTART 85
73 #define ESTRPIPE 86
74 #define EUSERS 87
75 #define ENOTSOCK 88
76 #define EDESTADDRREQ 89
77 #define EMSGSIZE 90
78 #define EPROTOTYPE 91
79 #define ENOPROTOOPT 92
80 #define EPROTONOSUPPORT 93
81 #define ESOCKTNOSUPPORT 94
82 #define EOPNOTSUPP 95
83 #define EPFNOSUPPORT 96
84 #define EAFNOSUPPORT 97
85 #define EADDRINUSE 98
86 #define EADDRNOTAVAIL 99
87 #define ENETDOWN 100
88 #define ENETUNREACH 101
89 #define ENETRESET 102
90 #define ECONNABORTED 103
91 #define ECONNRESET 104
92 #define ENOBUFS 105
93 #define EISCONN 106
94 #define ENOTCONN 107
95 #define ESHUTDOWN 108
96 #define ETOOMANYREFS 109
97 #define ETIMEDOUT 110
98 #define ECONNREFUSED 111
99 #define EHOSTDOWN 112
100 #define EHOSTUNREACH 113
101 #define EALREADY 114
102 #define EINPROGRESS 115
103 #define ESTALE 116
104 #define EUCLEAN 117
105 #define ENOTNAM 118
106 #define ENAVAIL 119
107 #define EISNAM 120
108 #define EREMOTEIO 121
109 #define EDQUOT 122
110 #define ENOMEDIUM 123
111 #define EMEDIUMTYPE 124
112 #define ECANCELED 125
113 #define ENOKEY 126
114 #define EKEYEXPIRED 127
115 #define EKEYREVOKED 128
116 #define EKEYREJECTED 129
117 #define EOWNERDEAD 130
118 #define ENOTRECOVERABLE 131
119 #define ERFKILL 132
120 #define EHWPOISON 133
121 #endif
122