|
|
1.1 ! root 1: /* ! 2: * $Source: /u1/X11/clients/xterm/RCS/error.h,v $ ! 3: * $Header: error.h,v 1.6 87/09/11 08:17:21 toddb Exp $ ! 4: */ ! 5: ! 6: ! 7: #include <X11/copyright.h> ! 8: ! 9: /* ! 10: * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. ! 11: * ! 12: * All Rights Reserved ! 13: * ! 14: * Permission to use, copy, modify, and distribute this software and its ! 15: * documentation for any purpose and without fee is hereby granted, ! 16: * provided that the above copyright notice appear in all copies and that ! 17: * both that copyright notice and this permission notice appear in ! 18: * supporting documentation, and that the name of Digital Equipment ! 19: * Corporation not be used in advertising or publicity pertaining to ! 20: * distribution of the software without specific, written prior permission. ! 21: * ! 22: * ! 23: * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ! 24: * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL ! 25: * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ! 26: * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, ! 27: * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ! 28: * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS ! 29: * SOFTWARE. ! 30: */ ! 31: ! 32: /* @(#)error.h X10/6.6 11/6/86 */ ! 33: /* main.c */ ! 34: #define ERROR_KMALLOC 10 /* main: malloc() failed for keyboardtype */ ! 35: #define ERROR_FIONBIO 11 /* main: ioctl() failed on FIONBIO */ ! 36: #define ERROR_TSLOT 12 /* spawn: tslot() failed and getty */ ! 37: #define ERROR_TSLOT2 13 /* spawn: tslot() failed and am_slave */ ! 38: #define ERROR_OPDEVTTY 14 /* spawn: open() failed on /dev/tty */ ! 39: #define ERROR_TIOCGETP 15 /* spawn: ioctl() failed on TIOCGETP */ ! 40: #define ERROR_TIOCGETC 16 /* spawn: ioctl() failed on TIOCGETC */ ! 41: #define ERROR_TIOCGETD 17 /* spawn: ioctl() failed on TIOCGETD */ ! 42: #define ERROR_TIOCGLTC 18 /* spawn: ioctl() failed on TIOCGLTC */ ! 43: #define ERROR_TIOCLGET 19 /* spawn: ioctl() failed on TIOCLGET */ ! 44: #define ERROR_TIOCCONS 20 /* spawn: ioctl() failed on TIOCCONS */ ! 45: #define ERROR_OPDEVTTY2 21 /* spawn: second open() failed on /dev/tty */ ! 46: #define ERROR_NOTTY 22 /* spawn: ioctl() failed on TIOCNOTTY */ ! 47: #define ERROR_TIOCSETP 23 /* spawn: ioctl() failed on TIOCSETP */ ! 48: #define ERROR_TIOCSETC 24 /* spawn: ioctl() failed on TIOCSETC */ ! 49: #define ERROR_TIOCSETD 25 /* spawn: ioctl() failed on TIOCSETD */ ! 50: #define ERROR_TIOCSLTC 26 /* spawn: ioctl() failed on TIOCSLTC */ ! 51: #define ERROR_TIOCLSET 27 /* spawn: ioctl() failed on TIOCLSET */ ! 52: #define ERROR_TSLOT3 28 /* spawn: tslot() failed */ ! 53: #define ERROR_FORK 29 /* spawn: fork() failed */ ! 54: #define ERROR_EXEC 30 /* spawn: exec() failed */ ! 55: #define ERROR_OPDEVTTY3 31 /* spawn: third open() failed on /dev/tty */ ! 56: #define ERROR_PTYS 32 /* get_pty: not enough ptys */ ! 57: #define ERROR_NOX 33 /* get_terminal: can't connect to server */ ! 58: #define ERROR_NOX2 34 /* get_terminal: can't connect and getty */ ! 59: #define ERROR_INIT 36 /* spawn: can't initialize window */ ! 60: #define ERROR_NOCO 37 /* resize: no `co' in termcap */ ! 61: #define ERROR_NOLI 38 /* resize: no `li' in termcap */ ! 62: #define ERROR_BORDER 39 /* get_terminal: can't make border tile */ ! 63: #define ERROR_BACK 40 /* get_terminal: can't make background tile */ ! 64: #define ERROR_NOX3 43 /* get_terminal: bad pty from display server */ ! 65: /* charproc.c */ ! 66: #define ERROR_SELECT 50 /* in_put: select() failed */ ! 67: #define ERROR_VINIT 54 /* VTInit: can't initialize window */ ! 68: #define ERROR_CNMALLOC1 55 /* Changename: malloc failed */ ! 69: #define ERROR_CNMALLOC2 56 /* Changename: malloc failed */ ! 70: /* Tekproc.c */ ! 71: #define ERROR_TSELECT 60 /* Tinput: select() failed */ ! 72: #define ERROR_TINIT 64 /* TekInit: can't initialize window */ ! 73: #define ERROR_TBACK 65 /* TekBackground: can't make background */ ! 74: #define ERROR_TWINNAME 66 /* TekInit: malloc failed */ ! 75: /* button.c */ ! 76: #define ERROR_BMALLOC2 71 /* SaltTextAway: malloc() failed */ ! 77: #define ERROR_BADMENU 72 /* ModeMenu: don't know what menu to use */ ! 78: /* misc.c */ ! 79: #define ERROR_LOGEXEC 80 /* StartLog: exec() failed */ ! 80: #define ERROR_XERROR 83 /* xerror: XError event */ ! 81: #define ERROR_XIOERROR 84 /* xioerror: X I/O error */ ! 82: #define ERROR_WINNAME 85 /* get_terminal: malloc failed */ ! 83: /* screen.c */ ! 84: #define ERROR_SCALLOC 90 /* Alloc: calloc() failed on base */ ! 85: #define ERROR_SCALLOC2 91 /* Alloc: calloc() failed on rows */ ! 86: #define ERROR_SREALLOC 92 /* ScreenResize: realloc() failed on alt base */ ! 87: #define ERROR_SREALLOC2 93 /* ScreenResize: realloc() failed on alt rows */ ! 88: #define ERROR_SREALLOC3 94 /* ScreenResize: realloc() failed on rows */ ! 89: #define ERROR_SREALLOC4 95 /* ScreenResize: realloc() failed on rows */ ! 90: #define ERROR_RESIZE 96 /* ScreenResize: malloc() or realloc() failed */ ! 91: #define ERROR_RESIZE2 97 /* ScreenResize: malloc() or realloc() failed */ ! 92: #define ERROR_RESIZROW 98 /* ScreenResize: realloc() failed on alt char */ ! 93: #define ERROR_RESIZROW2 99 /* ScreenResize: realloc() failed on alt attr */ ! 94: #define ERROR_RESIZROW3 100 /* ScreenResize: realloc() failed on attr */ ! 95: #define ERROR_RESIZROW4 101 /* ScreenResize: realloc() failed on attr */ ! 96: /* scrollbar.c */ ! 97: #define ERROR_SBRALLOC 110 /* ScrollBarOn: realloc() failed on base */ ! 98: #define ERROR_SBRALLOC2 111 /* ScrollBarOn: realloc() failed on rows */ ! 99: /* util.c */ ! 100: #define ERROR_UBACK 120 /* ReverseVideo: can't make background */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.