Annotation of 43BSD/lib/libc/gen/errlst.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1980 Regents of the University of California.
        !             3:  * All rights reserved.  The Berkeley software License Agreement
        !             4:  * specifies the terms and conditions for redistribution.
        !             5:  */
        !             6: 
        !             7: #if defined(LIBC_SCCS) && !defined(lint)
        !             8: static char sccsid[] = "@(#)errlst.c   5.2 (Berkeley) 3/9/86";
        !             9: #endif LIBC_SCCS and not lint
        !            10: 
        !            11: char   *sys_errlist[] = {
        !            12:        "Error 0",
        !            13:        "Not owner",                            /* 1 - EPERM */
        !            14:        "No such file or directory",            /* 2 - ENOENT */
        !            15:        "No such process",                      /* 3 - ESRCH */
        !            16:        "Interrupted system call",              /* 4 - EINTR */
        !            17:        "I/O error",                            /* 5 - EIO */
        !            18:        "No such device or address",            /* 6 - ENXIO */
        !            19:        "Arg list too long",                    /* 7 - E2BIG */
        !            20:        "Exec format error",                    /* 8 - ENOEXEC */
        !            21:        "Bad file number",                      /* 9 - EBADF */
        !            22:        "No children",                          /* 10 - ECHILD */
        !            23:        "No more processes",                    /* 11 - EAGAIN */
        !            24:        "Not enough memory",                    /* 12 - ENOMEM */
        !            25:        "Permission denied",                    /* 13 - EACCES */
        !            26:        "Bad address",                          /* 14 - EFAULT */
        !            27:        "Block device required",                /* 15 - ENOTBLK */
        !            28:        "Device busy",                          /* 16 - EBUSY */
        !            29:        "File exists",                          /* 17 - EEXIST */
        !            30:        "Cross-device link",                    /* 18 - EXDEV */
        !            31:        "No such device",                       /* 19 - ENODEV */
        !            32:        "Not a directory",                      /* 20 - ENOTDIR */
        !            33:        "Is a directory",                       /* 21 - EISDIR */
        !            34:        "Invalid argument",                     /* 22 - EINVAL */
        !            35:        "File table overflow",                  /* 23 - ENFILE */
        !            36:        "Too many open files",                  /* 24 - EMFILE */
        !            37:        "Inappropriate ioctl for device",       /* 25 - ENOTTY */
        !            38:        "Text file busy",                       /* 26 - ETXTBSY */
        !            39:        "File too large",                       /* 27 - EFBIG */
        !            40:        "No space left on device",              /* 28 - ENOSPC */
        !            41:        "Illegal seek",                         /* 29 - ESPIPE */
        !            42:        "Read-only file system",                /* 30 - EROFS */
        !            43:        "Too many links",                       /* 31 - EMLINK */
        !            44:        "Broken pipe",                          /* 32 - EPIPE */
        !            45: 
        !            46: /* math software */
        !            47:        "Argument too large",                   /* 33 - EDOM */
        !            48:        "Result too large",                     /* 34 - ERANGE */
        !            49: 
        !            50: /* non-blocking and interrupt i/o */
        !            51:        "Operation would block",                /* 35 - EWOULDBLOCK */
        !            52:        "Operation now in progress",            /* 36 - EINPROGRESS */
        !            53:        "Operation already in progress",        /* 37 - EALREADY */
        !            54: 
        !            55: /* ipc/network software */
        !            56: 
        !            57:        /* argument errors */
        !            58:        "Socket operation on non-socket",       /* 38 - ENOTSOCK */
        !            59:        "Destination address required",         /* 39 - EDESTADDRREQ */
        !            60:        "Message too long",                     /* 40 - EMSGSIZE */
        !            61:        "Protocol wrong type for socket",       /* 41 - EPROTOTYPE */
        !            62:        "Option not supported by protocol",     /* 42 - ENOPROTOOPT */
        !            63:        "Protocol not supported",               /* 43 - EPROTONOSUPPORT */
        !            64:        "Socket type not supported",            /* 44 - ESOCKTNOSUPPORT */
        !            65:        "Operation not supported on socket",    /* 45 - EOPNOTSUPP */
        !            66:        "Protocol family not supported",        /* 46 - EPFNOSUPPORT */
        !            67:        "Address family not supported by protocol family",
        !            68:                                                /* 47 - EAFNOSUPPORT */
        !            69:        "Address already in use",               /* 48 - EADDRINUSE */
        !            70:        "Can't assign requested address",       /* 49 - EADDRNOTAVAIL */
        !            71: 
        !            72:        /* operational errors */
        !            73:        "Network is down",                      /* 50 - ENETDOWN */
        !            74:        "Network is unreachable",               /* 51 - ENETUNREACH */
        !            75:        "Network dropped connection on reset",  /* 52 - ENETRESET */
        !            76:        "Software caused connection abort",     /* 53 - ECONNABORTED */
        !            77:        "Connection reset by peer",             /* 54 - ECONNRESET */
        !            78:        "No buffer space available",            /* 55 - ENOBUFS */
        !            79:        "Socket is already connected",          /* 56 - EISCONN */
        !            80:        "Socket is not connected",              /* 57 - ENOTCONN */
        !            81:        "Can't send after socket shutdown",     /* 58 - ESHUTDOWN */
        !            82:        "Too many references: can't splice",    /* 59 - ETOOMANYREFS */
        !            83:        "Connection timed out",                 /* 60 - ETIMEDOUT */
        !            84:        "Connection refused",                   /* 61 - EREFUSED */
        !            85:        "Too many levels of symbolic links",    /* 62 - ELOOP */
        !            86:        "File name too long",                   /* 63 - ENAMETOOLONG */
        !            87:        "Host is down",                         /* 64 - EHOSTDOWN */
        !            88:        "Host is unreachable",                  /* 65 - EHOSTUNREACH */
        !            89:        "Directory not empty",                  /* 66 - ENOTEMPTY */
        !            90:        "Too many processes",                   /* 67 - EPROCLIM */
        !            91:        "Too many users",                       /* 68 - EUSERS */
        !            92:        "Disc quota exceeded",                  /* 69 - EDQUOT */
        !            93: };
        !            94: int    sys_nerr = { sizeof sys_errlist/sizeof sys_errlist[0] };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.