4 #define E(a,b) ((unsigned char)a),
5 static const unsigned char errid[] = {
6 #include "__strerror.h"
11 static const char errmsg[] =
12 #include "__strerror.h"
19 /* mips has one error code outside of the 8-bit range due to a
20 * historical typo, so we just remap it. */
23 else if (e==EDQUOT) e=109;
25 for (i=0; errid[i] && errid[i] != e; i++);
26 for (s=errmsg; i; s++, i--) for (; *s; s++);