The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/i386/ibcs2/ibcs2_errno.c

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*-
    2  * ibcs2_errno.c
    3  * Copyright (c) 1995 Scott Bartram
    4  * All rights reserved.
    5  *
    6  * Redistribution and use in source and binary forms, with or without
    7  * modification, are permitted provided that the following conditions
    8  * are met:
    9  * 1. Redistributions of source code must retain the above copyright
   10  *    notice, this list of conditions and the following disclaimer.
   11  * 2. Redistributions in binary form must reproduce the above copyright
   12  *    notice, this list of conditions and the following disclaimer in the
   13  *    documentation and/or other materials provided with the distribution.
   14  * 3. All advertising materials mentioning features or use of this software
   15  *    must display the following acknowledgement:
   16  *      This product includes software developed by Scott Bartram.
   17  * 4. The name of the author may not be used to endorse or promote products
   18  *    derived from this software without specific prior written permission
   19  *
   20  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
   21  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   22  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
   23  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
   24  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   25  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
   26  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
   27  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   28  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   29  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   30  */
   31 
   32 #include <sys/cdefs.h>
   33 __FBSDID("$FreeBSD: stable/11/sys/i386/ibcs2/ibcs2_errno.c 331722 2018-03-29 02:50:57Z eadler $");
   34 
   35 #include <sys/errno.h>
   36 #include <i386/ibcs2/ibcs2_errno.h>
   37 
   38 int bsd_to_ibcs2_errno[ELAST + 1] = {
   39         0,                      /* 0 */
   40         IBCS2_EPERM,            /* 1 */
   41         IBCS2_ENOENT,           /* 2 */
   42         IBCS2_ESRCH,            /* 3 */
   43         IBCS2_EINTR,            /* 4 */
   44         IBCS2_EIO,              /* 5 */
   45         IBCS2_ENXIO,            /* 6 */
   46         IBCS2_E2BIG,            /* 7 */
   47         IBCS2_ENOEXEC,          /* 8 */
   48         IBCS2_EBADF,            /* 9 */
   49         IBCS2_ECHILD,           /* 10 */
   50         IBCS2_EDEADLK,          /* 11 */
   51         IBCS2_ENOMEM,           /* 12 */
   52         IBCS2_EACCES,           /* 13 */
   53         IBCS2_EFAULT,           /* 14 */
   54         IBCS2_ENOTBLK,          /* 15 */
   55         IBCS2_EBUSY,            /* 16 */
   56         IBCS2_EEXIST,           /* 17 */
   57         IBCS2_EXDEV,            /* 18 */
   58         IBCS2_ENODEV,           /* 19 */
   59         IBCS2_ENOTDIR,          /* 20 */
   60         IBCS2_EISDIR,           /* 21 */
   61         IBCS2_EINVAL,           /* 22 */
   62         IBCS2_ENFILE,           /* 23 */
   63         IBCS2_EMFILE,           /* 24 */
   64         IBCS2_ENOTTY,           /* 25 */
   65         IBCS2_ETXTBSY,          /* 26 */
   66         IBCS2_EFBIG,            /* 27 */
   67         IBCS2_ENOSPC,           /* 28 */
   68         IBCS2_ESPIPE,           /* 29 */
   69         IBCS2_EROFS,            /* 30 */
   70         IBCS2_EMLINK,           /* 31 */
   71         IBCS2_EPIPE,            /* 32 */
   72         IBCS2_EDOM,             /* 33 */
   73         IBCS2_ERANGE,           /* 34 */
   74         IBCS2_EAGAIN,           /* 35 */
   75         IBCS2_EINPROGRESS,      /* 36 */
   76         IBCS2_EALREADY,         /* 37 */
   77         IBCS2_ENOTSOCK,         /* 38 */
   78         IBCS2_EDESTADDRREQ,     /* 39 */
   79         IBCS2_EMSGSIZE,         /* 40 */
   80         IBCS2_EPROTOTYPE,       /* 41 */
   81         IBCS2_ENOPROTOOPT,      /* 42 */
   82         IBCS2_EPROTONOSUPPORT,  /* 43 */
   83         IBCS2_ESOCKTNOSUPPORT,  /* 44 */
   84         IBCS2_EOPNOTSUPP,       /* 45 */
   85         IBCS2_EPFNOSUPPORT,     /* 46 */
   86         IBCS2_EAFNOSUPPORT,     /* 47 */
   87         IBCS2_EADDRINUSE,       /* 48 */
   88         IBCS2_EADDRNOTAVAIL,    /* 49 */
   89         IBCS2_ENETDOWN,         /* 50 */
   90         IBCS2_ENETUNREACH,      /* 51 */
   91         IBCS2_ENETRESET,        /* 52 */
   92         IBCS2_ECONNABORTED,     /* 53 */
   93         IBCS2_ECONNRESET,       /* 54 */
   94         IBCS2_ENOBUFS,          /* 55 */
   95         IBCS2_EISCONN,          /* 56 */
   96         IBCS2_ENOTCONN,         /* 57 */
   97         IBCS2_ESHUTDOWN,        /* 58 */
   98         IBCS2_ETOOMANYREFS,     /* 59 */
   99         IBCS2_ETIMEDOUT,        /* 60 */
  100         IBCS2_ECONNREFUSED,     /* 61 */
  101         IBCS2_ELOOP,            /* 62 */
  102         IBCS2_ENAMETOOLONG,     /* 63 */
  103         IBCS2_EHOSTDOWN,        /* 64 */
  104         IBCS2_EHOSTUNREACH,     /* 65 */
  105         IBCS2_ENOTEMPTY,        /* 66 */
  106         0,                      /* 67 */
  107         0,                      /* 68 */
  108         0,                      /* 69 */
  109         IBCS2_ESTALE,           /* 70 */
  110         IBCS2_EREMOTE,          /* 71 */
  111         0,                      /* 72 */
  112         0,                      /* 73 */
  113         0,                      /* 74 */
  114         0,                      /* 75 */
  115         0,                      /* 76 */
  116         IBCS2_ENOLCK,           /* 77 */
  117         IBCS2_ENOSYS,           /* 78 */
  118         0,                      /* 79 */
  119         0,                      /* 80 */
  120         0,                      /* 81 */
  121         IBCS2_EIDRM,            /* 82 */
  122         IBCS2_ENOMSG,           /* 83 */
  123         IBCS2_EOVERFLOW,        /* 84 */
  124         0,                      /* 85 */
  125         IBCS2_EILSEQ,           /* 86 */
  126 };
  127 

Cache object: ced88a37656a7ee912ef667f5ed85004


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.