| // Warnning: Preprocess Only! |
| |
| #define S(N,E) [TAB][TAB]case N##L: return errno_private = E |
| #define T(N,E) [TAB]{ N##L,[TAB]E[TAB]} |
| |
| |
| T(0x00000102, ETIME), |
| T(0x00000103, 0), |
| //T(0x00000104, ENOLINK), |
| //T(0x00000106, EACCES), |
| T(0x00000107, ENOMSG), |
| T(0x0000010D, EDQUOT), |
| T(0x0000010E, ECONNABORTED), |
| //T(0x00000367, EWOULDBLOCK), |
| 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, EPERM), |
| 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, EACCES), |
| 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(0xC0000091, EOVERFLOW), |
| T(0xC0000095, EOVERFLOW), |
| T(0xC0000098, EBADFD), |
| 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, EBADFD), |
| T(0xC00000AD, EPIPE), |
| T(0xC00000AE, EBUSY), |
| T(0xC00000AF, EBADFD), |
| T(0xC00000B0, EPIPE), |
| T(0xC00000B1, EBADFD), |
| T(0xC00000B5, EIO), |
| T(0xC00000B6, EBADFD), |
| 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(0xC0000122, EINVAL), |
| T(0xC0000128, EBADFD), |
| 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, EBADFD), |
| T(0xC0000141, EINVAL), |
| T(0xC000014B, EPIPE), |
| T(0xC000014C, ENOEXEC), |
| T(0xC000014D, EIO), |
| T(0xC00002E7, EDQUOT), |
| T(0xC0000410, EDQUOT), |
| T(0xC0000467, ETXTBSY), |
| T(0xC0000802, EDQUOT), |
| T(0xFFFFFFFF, 0), |
| |
| //S(0x00000104, ENOLINK); |
| //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(0xC0000098, EBADFD); |
| //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); |