blob: 8f37709055fd406ac712c5eb745dacfe26598d21 [file] [log] [blame] [raw]
// Warnning: Preprocess Only!
#define S(N,E) [TAB][TAB]case N##L: return E
#define T(N,E) [TAB]{ N##L,[TAB]E[TAB]}
T(0x00000102, ETIME),
T(0x00000103, 0),
T(0x00000107, ENOMSG),
T(0x0000010D, EDQUOT),
T(0x0000010E, ECONNABORTED),
T(0x40000003, ENOEXEC),
T(0x4000000E, ENOEXEC),
T(0x4000001B, EALREADY),
T(0x40000023, ENOEXEC),
T(0x40190035, EALREADY),
T(0x401E000A, ENOBUFS),
T(0x401E034B, EBADR),
T(0x401E034C, EBADR),
T(0x401E042F, ENODEV),
T(0x80000001, ENOBUFS),
T(0x80000005, ENOBUFS),
T(0x8000000F, ENODEV),
T(0x80000011, EBUSY),
//T(0x80000013, EINVAL),
T(0x80000017, EMSGSIZE),
T(0x80000025, ENOTCONN),
T(0x8000002D, ENOLINK),
T(0x80000288, EUCLEAN),
T(0x80130003, EISCONN),
T(0x80130004, ENOTCONN),
T(0x80190029, ENODATA),
T(0x80190031, EACCES),
T(0x801C0001, ENOBUFS),
T(0x80210001, EIO),
T(0xC0000002, ENOSYS),
T(0xC0000003, EINVAL),
T(0xC0000005, EFAULT),
T(0xC0000006, EIO),
T(0xC0000007, EDQUOT),
T(0xC0000008, EBADR),
T(0xC0000009, EFAULT),
T(0xC000000A, EFAULT),
T(0xC000000D, EINVAL),
T(0xC000000E, ENODEV),
T(0xC000000F, ENOENT),
T(0xC0000010, EINVAL),
T(0xC0000011, 0),
T(0xC0000012, EMEDIUMTYPE),
T(0xC0000013, ENOMEDIUM),
T(0xC0000014, EMEDIUMTYPE),
T(0xC0000015, EIO),
T(0xC0000016, EBUSY),
T(0xC0000017, ENOMEM),
//T(0xC0000018, EFAULT),
T(0xC000001C, EINVAL),
T(0xC000001D, EFAULT),
T(0xC000001F, EINVAL),
T(0xC0000020, EIO),
T(0xC0000021, EADDRINUSE),
T(0xC0000022, EACCES),
T(0xC0000023, ENOBUFS),
T(0xC0000024, EINVAL),
T(0xC0000025, EFAULT),
//T(0xC0000028, 144),
T(0xC000002B, EIO),
T(0xC000002C, EFAULT),
T(0xC0000030, EINVAL),
T(0xC0000031, EDQUOT),
T(0xC0000032, EIO),
T(0xC0000033, EINVAL),
T(0xC0000034, ENOENT),
T(0xC0000035, EEXIST),
T(0xC0000037, ENOTCONN),
T(0xC0000038, EACCES),
T(0xC0000039, ENOTDIR),
T(0xC000003A, ENOENT),
T(0xC000003B, ENOTDIR),
T(0xC000003C, EOVERFLOW),
T(0xC000003E, EIO),
T(0xC0000041, ECONNREFUSED),
T(0xC0000042, EBADR),
T(0xC0000043, ETXTBSY),
T(0xC0000044, EDQUOT),
T(0xC0000046, EACCES),
T(0xC000004C, EINVAL),
T(0xC000004F, ENOSYS),
T(0xC0000050, EINVAL),
T(0xC0000051, EINVAL),
T(0xC0000054, EACCES),
T(0xC0000056, ETXTBSY),
T(0xC0000057, EPERM),
T(0xC000005A, EINVAL),
T(0xC000005B, EINVAL),
T(0xC0000069, EPERM),
T(0xC000006A, EACCES),
T(0xC000006B, EINVAL),
T(0xC000006C, EINVAL),
//T(0xC000006D, EACCES),
//T(0xC000006E, EACCES),
T(0xC0000072, EACCES),
T(0xC000007A, EFAULT),
T(0xC000007B, ENOEXEC),
T(0xC000007C, EINVAL),
T(0xC000007E, EINVAL),
T(0xC000007F, ENOSPC),
T(0xC0000084, EINVAL),
T(0xC0000086, EINVAL),
T(0xC0000089, ENODATA),
T(0xC000008D, EDOM),
T(0xC000008E, EDOM),
T(0xC0000091, ERANGE),
T(0xC0000093, ERANGE),
T(0xC0000094, EDOM),
T(0xC0000095, EOVERFLOW),
T(0xC0000098, EBADF),
T(0xC000009A, EBUSY),
T(0xC000009C, EIO),
T(0xC000009D, ENXIO),
T(0xC000009F, EFAULT),
T(0xC00000A0, EFAULT),
T(0xC00000A1, ENOBUFS),
T(0xC00000A2, EROFS),
T(0xC00000A3, ENOMEDIUM),
T(0xC00000A8, EINVAL),
T(0xC00000A9, EMEDIUMTYPE),
T(0xC00000AB, EMFILE),
T(0xC00000AC, EBADF),
T(0xC00000AD, EPIPE),
T(0xC00000AE, EBUSY),
T(0xC00000AF, EBADF),
T(0xC00000B0, EPIPE),
T(0xC00000B1, EBADF),
T(0xC00000B5, EIO),
T(0xC00000B6, EBADF),
T(0xC00000B9, EINVAL),
T(0xC00000BA, EISDIR),
T(0xC00000BB, ENOSYS), // Should we add the ENOTSPT?
T(0xC00000BC, ECONNREFUSED),
T(0xC00000BD, ENOTUNIQ),
T(0xC00000BE, ENETUNREACH),
T(0xC00000BF, EBUSY), // Should we add the ENETBUSY?
T(0xC00000C0, ENODEV),
T(0xC00000C2, EIO),
T(0xC00000C5, EREMOTEIO),
T(0xC00000C6, ENOBUFS),
T(0xC00000C7, ENOBUFS),
T(0xC00000C8, ECANCELED),
T(0xC00000CA, EACCES),
T(0xC00000CC, ENOENT),
T(0xC00000CE, EUSERS),
T(0xC00000CF, EAGAIN),
T(0xC00000D0, EUSERS),
T(0xC00000D1, EAGAIN),
T(0xC00000D2, EREMOTEIO),
T(0xC00000D3, ENFILE),
T(0xC00000D4, EXDEV),
T(0xC00000D6, ETIMEDOUT),
T(0xC00000D8, EAGAIN),
T(0xC00000D9, EAGAIN),
T(0xC00000E0, ENOTUNIQ),
T(0xC00000E4, EIO),
T(0xC00000E7, EINVAL),
T(0xC00000E9, EIO),
T(0xC00000ED, EPERM),
T(0xC00000EE, EACCES),
T(0xC00000FC, EALREADY),
T(0xC00000FD, EFAULT),
T(0xC0000100, ENODATA),
T(0xC0000101, ENOTEMPTY),
T(0xC0000102, EIO),
T(0xC0000103, ENOTDIR),
T(0xC0000106, ENAMETOOLONG),
T(0xC0000107, EACCES),
T(0xC0000108, EACCES),
T(0xC0000109, ENODATA),
T(0xC000010B, EINVAL),
T(0xC0000118, EINVAL),
T(0xC0000119, EINVAL),
T(0xC000011A, EBADR),
T(0xC000011B, ENOEXEC),
T(0xC000011E, EINVAL),
T(0xC000011F, EMFILE),
T(0xC0000120, ECANCELED),
T(0xC0000121, EACCES),
T(0xC0000122, EINVAL),
T(0xC0000128, EBADF),
T(0xC000012C, EDQUOT),
T(0xC000012D, ENOMEM),
//T(0xC0000134, EL2NSYNC),
T(0xC0000135, ENOENT),
T(0xC0000137, EACCES),
T(0xC0000138, ELIBBAD),
T(0xC0000139, ENOEXEC),
T(0xC000013B, ENOTCONN),
T(0xC000013C, ENOTCONN),
T(0xC000013E, EPROTO),
T(0xC000013F, ETIMEDOUT),
T(0xC0000140, EBADF),
T(0xC0000141, EINVAL),
T(0xC000014B, EPIPE),
T(0xC000014C, ENOEXEC),
T(0xC000014D, EIO),
T(0xC000014F, EINVAL),
T(0xC0000155, EACCES),
T(0xC000015A, EACCES),
T(0xC000015B, EACCES),
T(0xC000015C, ENOEXEC),
T(0xC000015D, EACCES),
T(0xC000015F, ENODATA),
T(0xC000016D, EIO),
T(0xC0000172, EIO),
T(0xC0000173, EINVAL),
T(0xC0000175, EBUSY),
T(0xC0000176, EBUSY),
T(0xC0000177, ENOSPC),
T(0xC0000178, ENOMEDIUM),
T(0xC000017D, ENOSPC),
T(0xC000017F, EACCES),
T(0xC0000180, ENOTEMPTY),
T(0xC0000182, EINVAL),
T(0xC0000183, EIO),
T(0xC0000185, EIO),
T(0xC0000187, EPERM),
T(0xC0000188, ENOSPC),
T(0xC0000189, EIO),
T(0xC0000193, EACCES),
T(0xC0000194, EDEADLK),
T(0xC0000196, EUSERS),
T(0xC00001A1, ERANGE),
T(0xC0000201, EACCES),
T(0xC0000204, ENODATA),
T(0xC0000206, EINVAL),
T(0xC0000209, EADDRINUSE),
T(0xC000020A, EADDRINUSE),
T(0xC000020C, ENOTCONN),
T(0xC000020D, ECONNRESET),
T(0xC000020F, ECONNABORTED),
T(0xC0000210, ETIMEDOUT),
T(0xC0000222, EIO),
T(0xC0000223, EINVAL),
T(0xC0000225, ENOENT),
T(0xC000022D, EAGAIN),
T(0xC0000231, ENOBUFS),
T(0xC0000235, EPERM),
T(0xC0000236, ECONNREFUSED),
T(0xC0000237, ENOTCONN),
T(0xC000023C, ENETUNREACH),
T(0xC000023D, EHOSTUNREACH),
T(0xC000023F, ECONNREFUSED),
T(0xC0000241, ECONNABORTED),
T(0xC0000246, EUSERS),
T(0xC0000247, EACCES),
T(0xC0000248, EACCES),
T(0xC0000251, ELIBBAD),
T(0xC0000254, EADDRINUSE),
T(0xC0000255, EADDRINUSE),
T(0xC0000259, EUSERS),
T(0xC0000265, EMLINK),
T(0xC0000267, ENOENT),
T(0xC000026E, EIO),
T(0xC0000280, ENOENT),
T(0xC0000283, ENOMEDIUM),
T(0xC0000285, ENXIO),
T(0xC0000293, EACCES),
T(0xC0000299, EACCES),
T(0xC000029A, ENOENT),
T(0xC000029E, EREMOTEIO),
T(0xC00002A2, EINVAL),
T(0xC00002A5, EBUSY),
T(0xC00002AE, EPERM),
T(0xC00002B3, EPERM),
T(0xC00002B6, ENODEV),
T(0xC00002C3, EACCES),
T(0xC00002C6, EACCES),
T(0xC00002C7, EPERM),
T(0xC00002CD, EPERM),
T(0xC00002D0, EPERM),
T(0xC00002D4, EINVAL),
T(0xC00002E7, EDQUOT),
T(0xC00002E9, EPERM),
T(0xC00002F1, ENONET),
T(0xC00002F2, EINVAL),
T(0xC00002F3, ENOSYS),
T(0xC00002F8, ENODATA),
T(0xC00002FB, EINVAL),
T(0xC0000350, EHOSTDOWN),
T(0xC0000359, ENOEXEC),
T(0xC000035A, ENOEXEC),
T(0xC0000369, EINVAL),
T(0xC000036F, ELIBACC),
T(0xC0000372, EACCES),
T(0xC0000373, ENOMEM),
T(0xC0000374, EFAULT),
T(0xC0000380, EACCES),
T(0xC0000382, EACCES),
T(0xC0000387, EIO),
T(0xC0000410, EDQUOT),
T(0xC0000413, EACCES),
T(0xC0000414, EACCES),
T(0xC0000417, EINVAL),
T(0xC0000418, EACCES),
T(0xC0000424, ENOEXEC),
T(0xC0000426, EPERM),
T(0xC0000428, ENOEXEC),
T(0xC0000429, ENOSYS),
T(0xC0000433, ETXTBSY),
T(0xC0000446, EINVAL),
T(0xC0000452, ENODEV),
T(0xC0000464, ENXIO), // Or EIO?
T(0xC0000465, EINVAL),
T(0xC0000467, ETXTBSY),
T(0xC0000500, EINVAL),
T(0xC0000501, EINVAL),
T(0xC0000715, EPERM),
T(0xC0000716, EINVAL),
T(0xC0000802, EDQUOT),
T(0xC0000805, EIO),
T(0xC0000904, EFBIG),
T(0xC0000905, EACCES),
T(0xC000A080, EREMOTEIO),
T(0xC000A081, EREMOTEIO),
T(0xC000A082, EIO),
T(0xC002000A, EINVAL),
T(0xC002000B, ENOENT),
//T(0xC0020016, ENOSR),
T(0xC0020019, EINVAL),
T(0xC002002B, ERANGE),
T(0xC002002C, ERANGE),
T(0xC002002E, ERANGE),
T(0xC0020032, EINVAL),
T(0xC0020034, EINVAL),
T(0xC0020035, EPERM),
T(0xC0020038, EINVAL),
T(0xC0020039, EINVAL),
T(0xC0020040, EINVAL),
T(0xC0020041, EPERM), // ENOTSPT ?
T(0xC0020044, EDOM),
T(0xC0020046, EDOM),
T(0xC0020047, ERANGE),
T(0xC0020048, ERANGE),
T(0xC002004D, EBADFD),
T(0xC0020064, EACCES),
T(0xC0030004, EINVAL),
T(0xC0030005, EINVAL),
T(0xC0030006, EBADFD),
T(0xC0030007, EINVAL),
T(0xC0030009, EFAULT),
T(0xC003000A, EINVAL),
T(0xC003000B, ERANGE),
T(0xC003000C, EINVAL),
T(0xC0030059, EINVAL),
T(0xC003005D, EPERM),
T(0xC003005F, EBADF),
T(0xC0030061, ENODATA),
T(0xC00A0001, EINVAL),
T(0xC00A0002, ENOEXEC),
T(0xC00A0003, ENOENT),
T(0xC00A0007, ENOBUFS),
T(0xC00A0008, ENOENT),
T(0xC00A0012, EACCES),
T(0xC00A0015, ENOENT),
T(0xC00A0016, EEXIST),
T(0xC00A0017, EBUSY),
T(0xC00A0022, EINVAL),
T(0xC00A0024, ENOTTY),
T(0xC00A0026, ETIMEDOUT),
T(0xC00A002A, EACCES),
T(0xC00A002B, EACCES),
T(0xC00A002E, ENOEXEC),
T(0xC00A002F, ENOENT),
T(0xC00A0030, EINVAL),
T(0xC00A0031, EPERM),
T(0xC00A0037, EACCES),
T(0xC00B0001, ENOENT),
T(0xC00B0002, ENOEXEC),
T(0xC00B0007, ECANCELED),
T(0xC013000A, EINVAL),
T(0xC013000C, EHOSTDOWN),
T(0xC013000D, EHOSTUNREACH),
T(0xC0140005, EINVAL),
T(0xC0140006, EFAULT),
T(0xC014000C, EFAULT),
T(0xC014000D, EINVAL),
T(0xC0140015, EINVAL),
T(0xC0140017, EPERM),
T(0xC0150005, ENOEXEC),
T(0xC0150006, ENOEXEC),
T(0xC0150016, EINVAL),
T(0xC0150017, EINVAL),
T(0xC0190002, EINVAL),
T(0xC019000B, EINVAL),
T(0xC0190013, EINVAL),
T(0xC0190021, ENOENT),
T(0xC0190028, EBADFD),
T(0xC0190039, ENOTEMPTY),
T(0xC019003F, EACCES),
T(0xC0190040, ENODEV),
T(0xC0190044, EPERM),
T(0xC0190055, EBADF),
T(0xC0190056, EPERM),
T(0xC019005A, EINVAL),
T(0xC0190060, EBADFD),
T(0xC01A001A, EINVAL),
T(0xC01A001B, EINVAL),
T(0xC01A0022, EINVAL),
T(0xC01C0003, EINVAL),
T(0xC01C0005, EINVAL),
T(0xC01C0006, EDEADLK),
T(0xC01C0014, ENOENT),
T(0xC01C0015, ENOENT),
T(0xC01C0017, EINVAL),
T(0xC01C0019, ENOENT),
T(0xC01C001A, EBUSY),
T(0xC01E0000, EPERM),
T(0xC01E0002, EBADF),
T(0xC01E0104, EAGAIN),
T(0xC01E0105, EAGAIN),
T(0xC01E0114, EBADF),
T(0xC01E0303, EBADF),
T(0xC01E0315, EINVAL),
T(0xC01E0316, EINVAL),
T(0xC01E0319, EINVAL),
T(0xC01E0343, EACCES),
T(0xC01E0352, EINVAL),
T(0xC01E0353, EPERM),
T(0xC01E035B, EINVAL),
T(0xC01E0503, EINVAL),
T(0xC01E0504, EINVAL),
T(0xC01E050A, EFAULT),
T(0xC01E050C, EBADF),
T(0xC01E051D, EINVAL),
T(0xC01E058C, EBADF),
T(0xC01E05E4, EFAULT),
T(0xC01E05E6, EINVAL),
T(0xC0210003, ENOSPC),
T(0xC0210004, EPERM),
T(0xC0210007, EBUSY),
T(0xC0210008, ENOSYS),
T(0xC0210009, EACCES),
T(0xC0210011, EACCES),
T(0xC0210026, ENOSYS),
T(0xC0210027, EPERM),
T(0xC0210029, EOVERFLOW),
T(0xC0220008, ENOENT),
T(0xC0220009, EEXIST),
T(0xC022000A, EBUSY),
T(0xC0220014, EINVAL),
T(0xC0220015, EPERM),
T(0xC0220017, EPERM),
T(0xC022001A, EINVAL),
T(0xC022001C, EFAULT),
T(0xC0220023, EFAULT),
T(0xC0220028, EDOM),
T(0xC0220034, EINVAL),
T(0xC0220035, EINVAL),
T(0xC022003C, EINVAL),
T(0xC0220101, EBADF),
T(0xC0220102, EBADFD),
T(0xC0230002, EADDRNOTAVAIL),
T(0xC0230004, EINVAL),
T(0xC0230005, EINVAL),
T(0xC0230006, ENODEV),
T(0xC023000F, EINVAL),
T(0xC0230010, EINVAL),
T(0xC0230014, EINVAL),
T(0xC0230015, EINVAL),
T(0xC0230016, ENOBUFS),
T(0xC0230017, EINVAL),
T(0xC0230018, ENODEV),
T(0xC0230019, EINVAL),
T(0xC023001A, EADDRINUSE),
T(0xC023001B, ENOENT),
T(0xC023001D, ETXTBSY),
T(0xC023001E, EBUSY),
T(0xC023001F, EIO),
T(0xC0230022, EAFNOSUPPORT),
T(0xC023002B, ENODEV),
T(0xC023002C, EINVAL),
T(0xC023002D, EAFNOSUPPORT),
T(0xC023002E, EAFNOSUPPORT),
T(0xC02300BB, EOPNOTSUPP),
T(0xC023100F, EPERM),
T(0xC0232000, EINVAL),
T(0xC0232001, EBUSY),
T(0xC0232002, EINVAL),
T(0xC0360001, EINVAL),
T(0xC0360002, ETIME),
T(0xC038005B, ENOSYS),
T(0xC038005C, ENOSYS),
T(0xC03A0015, EINVAL),
T(0xC03A0016, EACCES),
T(0xFFFFFFFF, 0),
//S(0x00000107, ENOMSG);
//S(0x0000010E, ECONNABORTED);
//S(0x00000114, EHWPOISON);
//S(0x00000119, EBUSY);
//S(0xC0000467, ETXTBSY);
//S(0x4000001B, EALREADY);
//S(0x401E000A, ENOBUFS);
//S(0x401E034B, EBADR);
//S(0x401E042F, ENODEV);
//S(0x80000013, EINVAL);
//S(0x80000017, EMSGSIZE);
//S(0x80000025, ENOTCONN);
//S(0x80000288, EUCLEAN);
//S(0x80130003, EISCONN);
//S(0x80190029, ENODATA);
//S(0xC0000002, ENOSYS);
//S(0xC0000003, EINVAL);
//S(0xC0000005, EFAULT);
//S(0xC000000F, ENOENT);
//S(0xC0000010, EPERM);
//S(0xC0000012, EMEDIUMTYPE);
//S(0xC0000013, ENOMEDIUM);
//S(0xC0000017, ENOMEM);
//S(0xC0000021, EADDRINUSE);
//S(0xC0000035, EEXIST);
//S(0xC0000039, ENOTDIR);
//S(0xC000003C, EOVERFLOW);
//S(0xC0000041, ECONNREFUSED);
//S(0xC000007F, ENOSPC);
//S(0xC000008D, EDOM);
//S(0xC0000091, ERANGE);
//S(0xC0000098, EBADF);
//S(0xC000009D, ENXIO);
//S(0xC00000A2, EROFS);
//S(0xC00000A3, ENOMEDIUM);
//S(0xC00000A9, EMEDIUMTYPE);
//S(0xC00000AB, EMFILE);
//S(0xC00000AD, EPIPE);
//S(0xC00000BA, EISDIR);
//S(0xC00000BD, ENOTUNIQ);
//S(0xC00000BE, ENETUNREACH);
//S(0xC00000C5, EREMOTEIO);
//S(0xC00000C8, ECANCELED);
//S(0xC00000CE, EUSERS);
//S(0xC00000CF, EAGAIN);
//S(0xC00000D3, ENFILE);
//S(0xC00000D4, EXDEV);
//S(0xC00000D6, ETIMEDOUT);
//S(0xC0000101, ENOTEMPTY);
//S(0xC0000106, ENAMETOOLONG);
//S(0xC0000138, ELIBBAD);
//S(0xC000013E, EPROTO);
//S(0xC0000194, EDEADLK);
//S(0xC000020D, ECONNRESET);
//S(0xC000023D, EHOSTUNREACH);
//S(0xC0000265, EMLINK);
//S(0xC00002F1, ENONET);
//S(0xC0000350, EHOSTDOWN);
//S(0xC000036F, ELIBACC);
//S(0xC0000904, EFBIG);
///S(0xC0020016, ENOSR);
//S(0xC002004D, EBADFD);
//S(0xC00A0024, ENOTTY);
//S(0xC0230002, EADDRNOTAVAIL);
//S(0xC0230022, EAFNOSUPPORT);
//S(0xC02300BB, EOPNOTSUPP);