home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / m / mxterm.zip / mxterm / error.h < prev    next >
Text File  |  1992-10-17  |  5KB  |  102 lines

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