(linenum→info "unix/slp.c:2238")

glibc/2.7/mach/err_ipc.sub

    1: /* 
    2:  * Mach Operating System
    3:  * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
    4:  * All Rights Reserved.
    5:  * 
    6:  * Permission to use, copy, modify and distribute this software and its
    7:  * documentation is hereby granted, provided that both the copyright
    8:  * notice and this permission notice appear in all copies of the
    9:  * software, derivative works or modified versions, and any portions
   10:  * thereof, and that both notices appear in supporting documentation.
   11:  * 
   12:  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS 
   13:  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
   14:  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   15:  * 
   16:  * Carnegie Mellon requests users of this software to return to
   17:  * 
   18:  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   19:  *  School of Computer Science
   20:  *  Carnegie Mellon University
   21:  *  Pittsburgh PA 15213-3890
   22:  * 
   23:  * any improvements or extensions that they make and grant Carnegie the
   24:  * rights to redistribute these changes.
   25:  */
   26: /*
   27:  * HISTORY
   28:  * $Log: err_ipc.sub,v $
   29:  * Revision 1.1  1992/10/06 18:29:52  roland
   30:  * entered into RCS
   31:  *
   32:  * Revision 2.2  92/01/16  00:08:40  rpd
   33:  *      Moved from user collection to mk collection.
   34:  * 
   35:  * Revision 2.2  91/03/27  16:05:16  mrt
   36:  *      First checkin
   37:  * 
   38:  * 
   39:  */
   40: /*
   41:  *      File:        err_ipc.sub
   42:  *      Author:      Douglas Orr, Carnegie Mellon University
   43:  *      Date:        Mar, 1988
   44:  *
   45:  *      Definitions of error strings for original IPC
   46:  */
   47: 
   48: static char * err_codes_send[] = {
   49:         "(ipc/send) unknown error",            /* -100 */
   50:         "(ipc/send) invalid memory",           /* -101 */
   51:         "(ipc/send) invalid port",             /* -102 */
   52:         "(ipc/send) timed out",                        /* -103 */
   53:         "(ipc/send) unused error",             /* -104 */
   54:         "(ipc/send) will notify",              /* -105 */
   55:         "(ipc/send) notify in progress",       /* -106 */    
   56:         "(ipc/send) kernel refused message",   /* -107 */
   57:         "(ipc/send) send interrupted",         /* -108 */
   58:         "(ipc/send) send message too large",   /* -109 */
   59:         "(ipc/send) send message too small",   /* -110 */
   60:         "(ipc/send) message size changed while being copied",  /* -111 */
   61: };
   62: 
   63: static char * err_codes_rcv[] = {
   64:         "(ipc/rcv) unknown error",                     /* -200 */
   65:         "(ipc/rcv) invalid memory",                    /* -201 */
   66:         "(ipc/rcv) invalid port",                      /* -202 */
   67:         "(ipc/rcv) receive timed out",                 /* -203 */
   68:         "(ipc/rcv) message too large",                 /* -204 */
   69:         "(ipc/rcv) no space for message data",         /* -205 */
   70:         "(ipc/rcv) only sender remaining",             /* -206 */
   71:         "(ipc/rcv) receive interrupted",               /* -207 */
   72:         "(ipc/rcv) port receiver changed or port became enabled", /* -208 */
   73: };
   74: 
   75: static char     * err_codes_mig[] = {
   76:         "(ipc/mig) type check failure in message interface",   /* 0 (-300) */
   77:         "(ipc/mig) wrong return message ID",                   /* 1 */
   78:         "(ipc/mig) server detected error",                     /* 2 */
   79:         "(ipc/mig) bad message ID",                            /* 3 */
   80:         "(ipc/mig) server found wrong arguments",              /* 4 */
   81:         "(ipc/mig) no reply should be sent",                   /* 5 */
   82:         "(ipc/mig) server raised exception",                   /* 6 */
   83:         "(ipc/mig) user specified array not large enough for return info",     /* 7 */
   84: };
   85: 
   86: /*      err_ipc subsystems           */
   87: static struct error_subsystem err_ipc_sub[] = {
   88:         /* ipc/0; */
   89:         {
   90:                 "(ipc/send)",
   91:                 errlib_count(err_codes_send),
   92:                 err_codes_send,
   93:         },
   94:         /* ipc/1; */
   95:         {
   96:                 "(ipc/rcv)",
   97:                 errlib_count(err_codes_rcv),
   98:                 err_codes_rcv,
   99: 
  100:         },
  101:         /* ipc/2 */
  102:         {
  103:                 "(ipc/mig)",
  104:                 errlib_count(err_codes_mig),
  105:                 err_codes_mig,
  106:         },
  107: 
  108: };
  109: 
Syntax (Markdown)