/* -*- buffer-read-only: t -*- vi: set ro: * * DO NOT EDIT THIS FILE * * This file has been derived by scanning system headers: * * /usr/include/asm-generic/errno-base.h * /usr/include/asm-generic/errno.h * /usr/include/asm/errno.h * /usr/include/bits/errno.h * /usr/include/errno.h * /usr/include/linux/errno.h * * @file errno.c * * Time-stamp: "2011-08-02 14:04:06 bkorb" * * Print out error numbers and meanings * * Copyright (c) 2002-2011 Bruce Korb - all rights reserved * * errno is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * errno is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . */ #ifndef ERRNO_LIMIT #define ERRNO_LIMIT 133 static char const * const errno_names[ERRNO_LIMIT] = { [ 1] = "EPERM", [ 2] = "ENOENT", [ 3] = "ESRCH", [ 4] = "EINTR", [ 5] = "EIO", [ 6] = "ENXIO", [ 7] = "E2BIG", [ 8] = "ENOEXEC", [ 9] = "EBADF", [ 10] = "ECHILD", [ 11] = "EAGAIN", [ 12] = "ENOMEM", [ 13] = "EACCES", [ 14] = "EFAULT", [ 15] = "ENOTBLK", [ 16] = "EBUSY", [ 17] = "EEXIST", [ 18] = "EXDEV", [ 19] = "ENODEV", [ 20] = "ENOTDIR", [ 21] = "EISDIR", [ 22] = "EINVAL", [ 23] = "ENFILE", [ 24] = "EMFILE", [ 25] = "ENOTTY", [ 26] = "ETXTBSY", [ 27] = "EFBIG", [ 28] = "ENOSPC", [ 29] = "ESPIPE", [ 30] = "EROFS", [ 31] = "EMLINK", [ 32] = "EPIPE", [ 33] = "EDOM", [ 34] = "ERANGE", [ 35] = "EDEADLK", [ 36] = "ENAMETOOLONG", [ 37] = "ENOLCK", [ 38] = "ENOSYS", [ 39] = "ENOTEMPTY", [ 40] = "ELOOP", [ 42] = "ENOMSG", [ 43] = "EIDRM", [ 44] = "ECHRNG", [ 45] = "EL2NSYNC", [ 46] = "EL3HLT", [ 47] = "EL3RST", [ 48] = "ELNRNG", [ 49] = "EUNATCH", [ 50] = "ENOCSI", [ 51] = "EL2HLT", [ 52] = "EBADE", [ 53] = "EBADR", [ 54] = "EXFULL", [ 55] = "ENOANO", [ 56] = "EBADRQC", [ 57] = "EBADSLT", [ 59] = "EBFONT", [ 60] = "ENOSTR", [ 61] = "ENODATA", [ 62] = "ETIME", [ 63] = "ENOSR", [ 64] = "ENONET", [ 65] = "ENOPKG", [ 66] = "EREMOTE", [ 67] = "ENOLINK", [ 68] = "EADV", [ 69] = "ESRMNT", [ 70] = "ECOMM", [ 71] = "EPROTO", [ 72] = "EMULTIHOP", [ 73] = "EDOTDOT", [ 74] = "EBADMSG", [ 75] = "EOVERFLOW", [ 76] = "ENOTUNIQ", [ 77] = "EBADFD", [ 78] = "EREMCHG", [ 79] = "ELIBACC", [ 80] = "ELIBBAD", [ 81] = "ELIBSCN", [ 82] = "ELIBMAX", [ 83] = "ELIBEXEC", [ 84] = "EILSEQ", [ 85] = "ERESTART", [ 86] = "ESTRPIPE", [ 87] = "EUSERS", [ 88] = "ENOTSOCK", [ 89] = "EDESTADDRREQ", [ 90] = "EMSGSIZE", [ 91] = "EPROTOTYPE", [ 92] = "ENOPROTOOPT", [ 93] = "EPROTONOSUPPORT", [ 94] = "ESOCKTNOSUPPORT", [ 95] = "EOPNOTSUPP", [ 96] = "EPFNOSUPPORT", [ 97] = "EAFNOSUPPORT", [ 98] = "EADDRINUSE", [ 99] = "EADDRNOTAVAIL", [100] = "ENETDOWN", [101] = "ENETUNREACH", [102] = "ENETRESET", [103] = "ECONNABORTED", [104] = "ECONNRESET", [105] = "ENOBUFS", [106] = "EISCONN", [107] = "ENOTCONN", [108] = "ESHUTDOWN", [109] = "ETOOMANYREFS", [110] = "ETIMEDOUT", [111] = "ECONNREFUSED", [112] = "EHOSTDOWN", [113] = "EHOSTUNREACH", [114] = "EALREADY", [115] = "EINPROGRESS", [116] = "ESTALE", [117] = "EUCLEAN", [118] = "ENOTNAM", [119] = "ENAVAIL", [120] = "EISNAM", [121] = "EREMOTEIO", [122] = "EDQUOT", [123] = "ENOMEDIUM", [124] = "EMEDIUMTYPE", [125] = "ECANCELED", [126] = "ENOKEY", [127] = "EKEYEXPIRED", [128] = "EKEYREVOKED", [129] = "EKEYREJECTED", [130] = "EOWNERDEAD", [131] = "ENOTRECOVERABLE", [132] = "ERFKILL", }; static char const show_fmt[] = "%5d (%-15s) == %s\n"; #endif /* ERRNO_LIMIT */