mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-errno: add errno constants to known_errors.def.
Add unlisted errno constants found in macOS and FreeBSD. If you see unlisted errno, please report.
This commit is contained in:
@@ -69,10 +69,18 @@ EADV
|
||||
ESRMNT
|
||||
ECOMM
|
||||
EPROTO
|
||||
ENOTCAPABLE
|
||||
ECAPMODE
|
||||
EMULTIHOP
|
||||
EDOTDOT
|
||||
EBADMSG
|
||||
EPWROFF
|
||||
EDEVERR
|
||||
EOVERFLOW
|
||||
EBADEXEC
|
||||
EBADARCH
|
||||
EBADMACHO
|
||||
ESHLIBVERS
|
||||
ENOTUNIQ
|
||||
EBADFD
|
||||
EREMCHG
|
||||
@@ -129,6 +137,7 @@ ENOKEY
|
||||
ENOMEDIUM
|
||||
ENOTRECOVERABLE
|
||||
EOWNERDEAD
|
||||
EINTEGRITY
|
||||
ERFKILL
|
||||
EAUTH
|
||||
EBADRPC
|
||||
@@ -143,3 +152,5 @@ EPROGMISMATCH
|
||||
EPROGUNAVAIL
|
||||
ERPCMISMATCH
|
||||
EIPSEC
|
||||
ENOPOLICY
|
||||
EQFULL
|
||||
|
||||
@@ -353,6 +353,16 @@
|
||||
#else
|
||||
itsnotdefined(EPROTO);
|
||||
#endif
|
||||
#ifdef ENOTCAPABLE
|
||||
itsdefined(ENOTCAPABLE);
|
||||
#else
|
||||
itsnotdefined(ENOTCAPABLE);
|
||||
#endif
|
||||
#ifdef ECAPMODE
|
||||
itsdefined(ECAPMODE);
|
||||
#else
|
||||
itsnotdefined(ECAPMODE);
|
||||
#endif
|
||||
#ifdef EMULTIHOP
|
||||
itsdefined(EMULTIHOP);
|
||||
#else
|
||||
@@ -368,11 +378,41 @@
|
||||
#else
|
||||
itsnotdefined(EBADMSG);
|
||||
#endif
|
||||
#ifdef EPWROFF
|
||||
itsdefined(EPWROFF);
|
||||
#else
|
||||
itsnotdefined(EPWROFF);
|
||||
#endif
|
||||
#ifdef EDEVERR
|
||||
itsdefined(EDEVERR);
|
||||
#else
|
||||
itsnotdefined(EDEVERR);
|
||||
#endif
|
||||
#ifdef EOVERFLOW
|
||||
itsdefined(EOVERFLOW);
|
||||
#else
|
||||
itsnotdefined(EOVERFLOW);
|
||||
#endif
|
||||
#ifdef EBADEXEC
|
||||
itsdefined(EBADEXEC);
|
||||
#else
|
||||
itsnotdefined(EBADEXEC);
|
||||
#endif
|
||||
#ifdef EBADARCH
|
||||
itsdefined(EBADARCH);
|
||||
#else
|
||||
itsnotdefined(EBADARCH);
|
||||
#endif
|
||||
#ifdef EBADMACHO
|
||||
itsdefined(EBADMACHO);
|
||||
#else
|
||||
itsnotdefined(EBADMACHO);
|
||||
#endif
|
||||
#ifdef ESHLIBVERS
|
||||
itsdefined(ESHLIBVERS);
|
||||
#else
|
||||
itsnotdefined(ESHLIBVERS);
|
||||
#endif
|
||||
#ifdef ENOTUNIQ
|
||||
itsdefined(ENOTUNIQ);
|
||||
#else
|
||||
@@ -653,6 +693,11 @@
|
||||
#else
|
||||
itsnotdefined(EOWNERDEAD);
|
||||
#endif
|
||||
#ifdef EINTEGRITY
|
||||
itsdefined(EINTEGRITY);
|
||||
#else
|
||||
itsnotdefined(EINTEGRITY);
|
||||
#endif
|
||||
#ifdef ERFKILL
|
||||
itsdefined(ERFKILL);
|
||||
#else
|
||||
@@ -723,3 +768,13 @@
|
||||
#else
|
||||
itsnotdefined(EIPSEC);
|
||||
#endif
|
||||
#ifdef ENOPOLICY
|
||||
itsdefined(ENOPOLICY);
|
||||
#else
|
||||
itsnotdefined(ENOPOLICY);
|
||||
#endif
|
||||
#ifdef EQFULL
|
||||
itsdefined(EQFULL);
|
||||
#else
|
||||
itsnotdefined(EQFULL);
|
||||
#endif
|
||||
|
||||
@@ -211,6 +211,12 @@
|
||||
#ifdef EPROTO
|
||||
{ MRB_SYM(EPROTO), EPROTO },
|
||||
#endif
|
||||
#ifdef ENOTCAPABLE
|
||||
{ MRB_SYM(ENOTCAPABLE), ENOTCAPABLE },
|
||||
#endif
|
||||
#ifdef ECAPMODE
|
||||
{ MRB_SYM(ECAPMODE), ECAPMODE },
|
||||
#endif
|
||||
#ifdef EMULTIHOP
|
||||
{ MRB_SYM(EMULTIHOP), EMULTIHOP },
|
||||
#endif
|
||||
@@ -220,9 +226,27 @@
|
||||
#ifdef EBADMSG
|
||||
{ MRB_SYM(EBADMSG), EBADMSG },
|
||||
#endif
|
||||
#ifdef EPWROFF
|
||||
{ MRB_SYM(EPWROFF), EPWROFF },
|
||||
#endif
|
||||
#ifdef EDEVERR
|
||||
{ MRB_SYM(EDEVERR), EDEVERR },
|
||||
#endif
|
||||
#ifdef EOVERFLOW
|
||||
{ MRB_SYM(EOVERFLOW), EOVERFLOW },
|
||||
#endif
|
||||
#ifdef EBADEXEC
|
||||
{ MRB_SYM(EBADEXEC), EBADEXEC },
|
||||
#endif
|
||||
#ifdef EBADARCH
|
||||
{ MRB_SYM(EBADARCH), EBADARCH },
|
||||
#endif
|
||||
#ifdef EBADMACHO
|
||||
{ MRB_SYM(EBADMACHO), EBADMACHO },
|
||||
#endif
|
||||
#ifdef ESHLIBVERS
|
||||
{ MRB_SYM(ESHLIBVERS), ESHLIBVERS },
|
||||
#endif
|
||||
#ifdef ENOTUNIQ
|
||||
{ MRB_SYM(ENOTUNIQ), ENOTUNIQ },
|
||||
#endif
|
||||
@@ -391,6 +415,9 @@
|
||||
#ifdef EOWNERDEAD
|
||||
{ MRB_SYM(EOWNERDEAD), EOWNERDEAD },
|
||||
#endif
|
||||
#ifdef EINTEGRITY
|
||||
{ MRB_SYM(EINTEGRITY), EINTEGRITY },
|
||||
#endif
|
||||
#ifdef ERFKILL
|
||||
{ MRB_SYM(ERFKILL), ERFKILL },
|
||||
#endif
|
||||
@@ -433,3 +460,9 @@
|
||||
#ifdef EIPSEC
|
||||
{ MRB_SYM(EIPSEC), EIPSEC },
|
||||
#endif
|
||||
#ifdef ENOPOLICY
|
||||
{ MRB_SYM(ENOPOLICY), ENOPOLICY },
|
||||
#endif
|
||||
#ifdef EQFULL
|
||||
{ MRB_SYM(EQFULL), EQFULL },
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user