[BACK]Return to errno.h CVS log [TXT][DIR] Up to [local] / prex-old / include / sys

Annotation of prex-old/include/sys/errno.h, Revision 1.1

1.1     ! nbrk        1: /*
        !             2:  * Copyright (c) 1982, 1986, 1989, 1993
        !             3:  *     The Regents of the University of California.  All rights reserved.
        !             4:  * (c) UNIX System Laboratories, Inc.
        !             5:  * All or some portions of this file are derived from material licensed
        !             6:  * to the University of California by American Telephone and Telegraph
        !             7:  * Co. or Unix System Laboratories, Inc. and are reproduced herein with
        !             8:  * the permission of UNIX System Laboratories, Inc.
        !             9:  *
        !            10:  * Redistribution and use in source and binary forms, with or without
        !            11:  * modification, are permitted provided that the following conditions
        !            12:  * are met:
        !            13:  * 1. Redistributions of source code must retain the above copyright
        !            14:  *    notice, this list of conditions and the following disclaimer.
        !            15:  * 2. Redistributions in binary form must reproduce the above copyright
        !            16:  *    notice, this list of conditions and the following disclaimer in the
        !            17:  *    documentation and/or other materials provided with the distribution.
        !            18:  * 3. Neither the name of the University nor the names of its contributors
        !            19:  *    may be used to endorse or promote products derived from this software
        !            20:  *    without specific prior written permission.
        !            21:  *
        !            22:  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
        !            23:  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
        !            24:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
        !            25:  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
        !            26:  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
        !            27:  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
        !            28:  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
        !            29:  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
        !            30:  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
        !            31:  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
        !            32:  * SUCH DAMAGE.
        !            33:  *
        !            34:  *     @(#)errno.h     8.5 (Berkeley) 1/21/94
        !            35:  */
        !            36:
        !            37: #ifndef _SYS_ERRNO_H_
        !            38: #define _SYS_ERRNO_H_
        !            39:
        !            40: #ifndef KERNEL
        !            41: extern int errno;                      /* global error number */
        !            42: #endif
        !            43:
        !            44: #define        EPERM           1               /* Operation not permitted */
        !            45: #define        ENOENT          2               /* No such file or directory */
        !            46: #define        ESRCH           3               /* No such process */
        !            47: #define        EINTR           4               /* Interrupted system call */
        !            48: #define        EIO             5               /* Input/output error */
        !            49: #define        ENXIO           6               /* Device not configured */
        !            50: #define        E2BIG           7               /* Argument list too long */
        !            51: #define        ENOEXEC         8               /* Exec format error */
        !            52: #define        EBADF           9               /* Bad file descriptor */
        !            53: #define        ECHILD          10              /* No child processes */
        !            54: #define        EDEADLK         11              /* Resource deadlock avoided */
        !            55:                                        /* 11 was EAGAIN */
        !            56: #define        ENOMEM          12              /* Cannot allocate memory */
        !            57: #define        EACCES          13              /* Permission denied */
        !            58: #define        EFAULT          14              /* Bad address */
        !            59: #define        ENOTBLK         15              /* Block device required */
        !            60: #define        EBUSY           16              /* Device busy */
        !            61: #define        EEXIST          17              /* File exists */
        !            62: #define        EXDEV           18              /* Cross-device link */
        !            63: #define        ENODEV          19              /* Operation not supported by device */
        !            64: #define        ENOTDIR         20              /* Not a directory */
        !            65: #define        EISDIR          21              /* Is a directory */
        !            66: #define        EINVAL          22              /* Invalid argument */
        !            67: #define        ENFILE          23              /* Too many open files in system */
        !            68: #define        EMFILE          24              /* Too many open files */
        !            69: #define        ENOTTY          25              /* Inappropriate ioctl for device */
        !            70: #define        ETXTBSY         26              /* Text file busy */
        !            71: #define        EFBIG           27              /* File too large */
        !            72: #define        ENOSPC          28              /* No space left on device */
        !            73: #define        ESPIPE          29              /* Illegal seek */
        !            74: #define        EROFS           30              /* Read-only file system */
        !            75: #define        EMLINK          31              /* Too many links */
        !            76: #define        EPIPE           32              /* Broken pipe */
        !            77:
        !            78: /* math software */
        !            79: #define        EDOM            33              /* Numerical argument out of domain */
        !            80: #define        ERANGE          34              /* Result too large */
        !            81:
        !            82: /* non-blocking and interrupt i/o */
        !            83: #define        EAGAIN          35              /* Resource temporarily unavailable */
        !            84: #define        EWOULDBLOCK     EAGAIN          /* Operation would block */
        !            85: #define        EINPROGRESS     36              /* Operation now in progress */
        !            86: #define        EALREADY        37              /* Operation already in progress */
        !            87:
        !            88: /* ipc/network software -- argument errors */
        !            89: #define        ENOTSOCK        38              /* Socket operation on non-socket */
        !            90: #define        EDESTADDRREQ    39              /* Destination address required */
        !            91: #define        EMSGSIZE        40              /* Message too long */
        !            92: #define        EPROTOTYPE      41              /* Protocol wrong type for socket */
        !            93: #define        ENOPROTOOPT     42              /* Protocol not available */
        !            94: #define        EPROTONOSUPPORT 43              /* Protocol not supported */
        !            95: #define        ESOCKTNOSUPPORT 44              /* Socket type not supported */
        !            96: #define        EOPNOTSUPP      45              /* Operation not supported */
        !            97: #define        EPFNOSUPPORT    46              /* Protocol family not supported */
        !            98: #define        EAFNOSUPPORT    47              /* Address family not supported by protocol family */
        !            99: #define        EADDRINUSE      48              /* Address already in use */
        !           100: #define        EADDRNOTAVAIL   49              /* Can't assign requested address */
        !           101:
        !           102: /* ipc/network software -- operational errors */
        !           103: #define        ENETDOWN        50              /* Network is down */
        !           104: #define        ENETUNREACH     51              /* Network is unreachable */
        !           105: #define        ENETRESET       52              /* Network dropped connection on reset */
        !           106: #define        ECONNABORTED    53              /* Software caused connection abort */
        !           107: #define        ECONNRESET      54              /* Connection reset by peer */
        !           108: #define        ENOBUFS         55              /* No buffer space available */
        !           109: #define        EISCONN         56              /* Socket is already connected */
        !           110: #define        ENOTCONN        57              /* Socket is not connected */
        !           111: #define        ESHUTDOWN       58              /* Can't send after socket shutdown */
        !           112: #define        ETOOMANYREFS    59              /* Too many references: can't splice */
        !           113: #define        ETIMEDOUT       60              /* Operation timed out */
        !           114: #define        ECONNREFUSED    61              /* Connection refused */
        !           115:
        !           116: #define        ELOOP           62              /* Too many levels of symbolic links */
        !           117: #define        ENAMETOOLONG    63              /* File name too long */
        !           118:
        !           119: /* should be rearranged */
        !           120: #define        EHOSTDOWN       64              /* Host is down */
        !           121: #define        EHOSTUNREACH    65              /* No route to host */
        !           122: #define        ENOTEMPTY       66              /* Directory not empty */
        !           123:
        !           124: /* quotas & mush */
        !           125: #define        EPROCLIM        67              /* Too many processes */
        !           126: #define        ENOSYS          68              /* Function not implemented */
        !           127:
        !           128: #endif /* !_SYS_ERRNO_H_ */

CVSweb