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.
MODIFY
mrbgems/mruby-errno/src/known_errors.def
mrbgems/mruby-errno/src/known_errors.def
@@ -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

MODIFY
mrbgems/mruby-errno/src/known_errors_def.cstub
mrbgems/mruby-errno/src/known_errors_def.cstub
#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
#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
#else
itsnotdefined(EOWNERDEAD);
#endif
+#ifdef EINTEGRITY
+ itsdefined(EINTEGRITY);
+#else
+ itsnotdefined(EINTEGRITY);
+#endif
#ifdef ERFKILL
itsdefined(ERFKILL);
#else
#else
itsnotdefined(EIPSEC);
#endif
+#ifdef ENOPOLICY
+ itsdefined(ENOPOLICY);
+#else
+ itsnotdefined(ENOPOLICY);
+#endif
+#ifdef EQFULL
+ itsdefined(EQFULL);
+#else
+ itsnotdefined(EQFULL);
+#endif

MODIFY
mrbgems/mruby-errno/src/known_errors_e2c.cstub
mrbgems/mruby-errno/src/known_errors_e2c.cstub
#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
#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
#ifdef EOWNERDEAD
{ MRB_SYM(EOWNERDEAD), EOWNERDEAD },
#endif
+#ifdef EINTEGRITY
+ { MRB_SYM(EINTEGRITY), EINTEGRITY },
+#endif
#ifdef ERFKILL
{ MRB_SYM(ERFKILL), ERFKILL },
#endif
#ifdef EIPSEC
{ MRB_SYM(EIPSEC), EIPSEC },
#endif
+#ifdef ENOPOLICY
+ { MRB_SYM(ENOPOLICY), ENOPOLICY },
+#endif
+#ifdef EQFULL
+ { MRB_SYM(EQFULL), EQFULL },
+#endif

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.