user: implement mlibc as the libc, finally.
It's finally done.. Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
@@ -0,0 +1,127 @@
|
||||
#ifndef _ABIBITS_ERRNO_H
|
||||
#define _ABIBITS_ERRNO_H
|
||||
|
||||
#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 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
|
||||
#define EPROGMISMATCH 1117
|
||||
|
||||
#define EIEIO 1524152434
|
||||
|
||||
#endif /* _ABIBITS_ERRNO_H */
|
||||
Reference in New Issue
Block a user