-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
119 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,142 +1,126 @@ | ||
#ifndef _ABIBITS_ERRNO_H | ||
#define _ABIBITS_ERRNO_H | ||
|
||
#define EPERM 1 | ||
#define ENOENT 2 | ||
#define ESRCH 3 | ||
#define EINTR 4 | ||
#define EIO 5 | ||
#define ENXIO 6 | ||
#define E2BIG 7 | ||
#define ENOEXEC 8 | ||
#define EBADF 9 | ||
#define ECHILD 10 | ||
#define EAGAIN 11 | ||
#define ENOMEM 12 | ||
#define EACCES 13 | ||
#define EFAULT 14 | ||
#define ENOTBLK 15 | ||
#define EBUSY 16 | ||
#define EEXIST 17 | ||
#define EXDEV 18 | ||
#define ENODEV 19 | ||
#define ENOTDIR 20 | ||
#define EISDIR 21 | ||
#define EINVAL 22 | ||
#define ENFILE 23 | ||
#define EMFILE 24 | ||
#define ENOTTY 25 | ||
#define ETXTBSY 26 | ||
#define EFBIG 27 | ||
#define ENOSPC 28 | ||
#define ESPIPE 29 | ||
#define EROFS 30 | ||
#define EMLINK 31 | ||
#define EPIPE 32 | ||
#define EDOM 33 | ||
#define ERANGE 34 | ||
#define EDEADLK 35 | ||
#define ENAMETOOLONG 36 | ||
#define ENOLCK 37 | ||
#define ENOSYS 38 | ||
#define ENOTEMPTY 39 | ||
#define ELOOP 40 | ||
#define EDOM 1 | ||
#define EILSEQ 2 | ||
#define ERANGE 3 | ||
|
||
#define E2BIG 1001 | ||
#define EACCES 1002 | ||
#define EADDRINUSE 1003 | ||
#define EADDRNOTAVAIL 1004 | ||
#define EAFNOSUPPORT 1005 | ||
#define EAGAIN 1006 | ||
#define EALREADY 1007 | ||
#define EBADF 1008 | ||
#define EBADMSG 1009 | ||
#define EBUSY 1010 | ||
#define ECANCELED 1011 | ||
#define ECHILD 1012 | ||
#define ECONNABORTED 1013 | ||
#define ECONNREFUSED 1014 | ||
#define ECONNRESET 1015 | ||
#define EDEADLK 1016 | ||
#define EDESTADDRREQ 1017 | ||
#define EDQUOT 1018 | ||
#define EEXIST 1019 | ||
#define EFAULT 1020 | ||
#define EFBIG 1021 | ||
#define EHOSTUNREACH 1022 | ||
#define EIDRM 1023 | ||
#define EINPROGRESS 1024 | ||
#define EINTR 1025 | ||
#define EINVAL 1026 | ||
#define EIO 1027 | ||
#define EISCONN 1028 | ||
#define EISDIR 1029 | ||
#define ELOOP 1030 | ||
#define EMFILE 1031 | ||
#define EMLINK 1032 | ||
#define EMSGSIZE 1034 | ||
#define EMULTIHOP 1035 | ||
#define ENAMETOOLONG 1036 | ||
#define ENETDOWN 1037 | ||
#define ENETRESET 1038 | ||
#define ENETUNREACH 1039 | ||
#define ENFILE 1040 | ||
#define ENOBUFS 1041 | ||
#define ENODEV 1042 | ||
#define ENOENT 1043 | ||
#define ENOEXEC 1044 | ||
#define ENOLCK 1045 | ||
#define ENOLINK 1046 | ||
#define ENOMEM 1047 | ||
#define ENOMSG 1048 | ||
#define ENOPROTOOPT 1049 | ||
#define ENOSPC 1050 | ||
#define ENOSYS 1051 | ||
#define ENOTCONN 1052 | ||
#define ENOTDIR 1053 | ||
#define ENOTEMPTY 1054 | ||
#define ENOTRECOVERABLE 1055 | ||
#define ENOTSOCK 1056 | ||
#define ENOTSUP 1057 | ||
#define ENOTTY 1058 | ||
#define ENXIO 1059 | ||
#define EOPNOTSUPP 1060 | ||
#define EOVERFLOW 1061 | ||
#define EOWNERDEAD 1062 | ||
#define EPERM 1063 | ||
#define EPIPE 1064 | ||
#define EPROTO 1065 | ||
#define EPROTONOSUPPORT 1066 | ||
#define EPROTOTYPE 1067 | ||
#define EROFS 1068 | ||
#define ESPIPE 1069 | ||
#define ESRCH 1070 | ||
#define ESTALE 1071 | ||
#define ETIMEDOUT 1072 | ||
#define ETXTBSY 1073 | ||
#define EWOULDBLOCK EAGAIN | ||
#define ENOMSG 42 | ||
#define EIDRM 43 | ||
#define ECHRNG 44 | ||
#define EL2NSYNC 45 | ||
#define EL3HLT 46 | ||
#define EL3RST 47 | ||
#define ELNRNG 48 | ||
#define EUNATCH 49 | ||
#define ENOCSI 50 | ||
#define EL2HLT 51 | ||
#define EBADE 52 | ||
#define EBADR 53 | ||
#define EXFULL 54 | ||
#define ENOANO 55 | ||
#define EBADRQC 56 | ||
#define EBADSLT 57 | ||
#define EDEADLOCK EDEADLK | ||
#define EBFONT 59 | ||
#define ENOSTR 60 | ||
#define ENODATA 61 | ||
#define ETIME 62 | ||
#define ENOSR 63 | ||
#define ENONET 64 | ||
#define ENOPKG 65 | ||
#define EREMOTE 66 | ||
#define ENOLINK 67 | ||
#define EADV 68 | ||
#define ESRMNT 69 | ||
#define ECOMM 70 | ||
#define EPROTO 71 | ||
#define EMULTIHOP 72 | ||
#define EDOTDOT 73 | ||
#define EBADMSG 74 | ||
#define EOVERFLOW 75 | ||
#define ENOTUNIQ 76 | ||
#define EBADFD 77 | ||
#define EREMCHG 78 | ||
#define ELIBACC 79 | ||
#define ELIBBAD 80 | ||
#define ELIBSCN 81 | ||
#define ELIBMAX 82 | ||
#define ELIBEXEC 83 | ||
#define EILSEQ 84 | ||
#define ERESTART 85 | ||
#define ESTRPIPE 86 | ||
#define EUSERS 87 | ||
#define ENOTSOCK 88 | ||
#define EDESTADDRREQ 89 | ||
#define EMSGSIZE 90 | ||
#define EPROTOTYPE 91 | ||
#define ENOPROTOOPT 92 | ||
#define EPROTONOSUPPORT 93 | ||
#define ESOCKTNOSUPPORT 94 | ||
#define EOPNOTSUPP 95 | ||
#define ENOTSUP EOPNOTSUPP | ||
#define EPFNOSUPPORT 96 | ||
#define EAFNOSUPPORT 97 | ||
#define EADDRINUSE 98 | ||
#define EADDRNOTAVAIL 99 | ||
#define ENETDOWN 100 | ||
#define ENETUNREACH 101 | ||
#define ENETRESET 102 | ||
#define ECONNABORTED 103 | ||
#define ECONNRESET 104 | ||
#define ENOBUFS 105 | ||
#define EISCONN 106 | ||
#define ENOTCONN 107 | ||
#define ESHUTDOWN 108 | ||
#define ETOOMANYREFS 109 | ||
#define ETIMEDOUT 110 | ||
#define ECONNREFUSED 111 | ||
#define EHOSTDOWN 112 | ||
#define EHOSTUNREACH 113 | ||
#define EALREADY 114 | ||
#define EINPROGRESS 115 | ||
#define ESTALE 116 | ||
#define EUCLEAN 117 | ||
#define ENOTNAM 118 | ||
#define ENAVAIL 119 | ||
#define EISNAM 120 | ||
#define EREMOTEIO 121 | ||
#define EDQUOT 122 | ||
#define ENOMEDIUM 123 | ||
#define EMEDIUMTYPE 124 | ||
#define ECANCELED 125 | ||
#define ENOKEY 126 | ||
#define EKEYEXPIRED 127 | ||
#define EKEYREVOKED 128 | ||
#define EKEYREJECTED 129 | ||
#define EOWNERDEAD 130 | ||
#define ENOTRECOVERABLE 131 | ||
#define ERFKILL 132 | ||
#define EHWPOISON 133 | ||
#define EXDEV 1075 | ||
#define ENODATA 1076 | ||
#define ETIME 1077 | ||
#define ENOKEY 1078 | ||
#define ESHUTDOWN 1079 | ||
#define EHOSTDOWN 1080 | ||
#define EBADFD 1081 | ||
#define ENOMEDIUM 1082 | ||
#define ENOTBLK 1083 | ||
#define ENONET 1084 | ||
#define EPFNOSUPPORT 1085 | ||
#define ESOCKTNOSUPPORT 1086 | ||
#define ESTRPIPE 1087 | ||
#define EREMOTEIO 1088 | ||
#define ERFKILL 1089 | ||
#define EBADR 1090 | ||
#define EUNATCH 1091 | ||
#define EMEDIUMTYPE 1092 | ||
#define EREMOTE 1093 | ||
#define EKEYREJECTED 1094 | ||
#define EUCLEAN 1095 | ||
#define EBADSLT 1096 | ||
#define ENOANO 1097 | ||
#define ENOCSI 1098 | ||
#define ENOSTR 1099 | ||
#define ETOOMANYREFS 1100 | ||
#define ENOPKG 1101 | ||
#define EKEYREVOKED 1102 | ||
#define EXFULL 1103 | ||
#define ELNRNG 1104 | ||
#define ENOTUNIQ 1105 | ||
#define ERESTART 1106 | ||
#define EUSERS 1107 | ||
#define ECHRNG 1108 | ||
#define ELIBBAD 1109 | ||
#define EL2HLT 1110 | ||
#define EL3HLT 1111 | ||
#define EKEYEXPIRED 1112 | ||
#define ECOMM 1113 | ||
#define EBADE 1114 | ||
#define EHWPOISON 1115 | ||
#define EBADRQC 1116 | ||
|
||
/* This is mlibc-specific. */ | ||
#define EIEIO 4095 | ||
#define EIEIO 1524152434 | ||
|
||
#endif /* _ABIBITS_ERRNO_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters