home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume9 / xterm / part01 / error.h < prev    next >
Encoding:
C/C++ Source or Header  |  1987-04-19  |  4.6 KB  |  83 lines

  1. /*
  2.  *    $Source: /u1/X/xterm/RCS/error.h,v $
  3.  *    $Header: error.h,v 10.100 86/12/01 14:39:28 jg Rel $
  4.  */
  5.  
  6. /* @(#)error.h       X10/6.6B 12/26/86 */
  7. /* main.c */
  8. #define    ERROR_KMALLOC    10    /* main: malloc() failed for keyboardtype */
  9. #define    ERROR_FIONBIO    11    /* main: ioctl() failed on FIONBIO */
  10. #define    ERROR_TSLOT    12    /* spawn: tslot() failed and getty */
  11. #define    ERROR_TSLOT2    13    /* spawn: tslot() failed and am_slave */
  12. #define    ERROR_OPDEVTTY    14    /* spawn: open() failed on /dev/tty */
  13. #define    ERROR_TIOCGETP    15    /* spawn: ioctl() failed on TIOCGETP */
  14. #define    ERROR_TIOCGETC    16    /* spawn: ioctl() failed on TIOCGETC */
  15. #define    ERROR_TIOCGETD    17    /* spawn: ioctl() failed on TIOCGETD */
  16. #define    ERROR_TIOCGLTC    18    /* spawn: ioctl() failed on TIOCGLTC */
  17. #define    ERROR_TIOCLGET    19    /* spawn: ioctl() failed on TIOCLGET */
  18. #define    ERROR_TIOCCONS    20    /* spawn: ioctl() failed on TIOCCONS */
  19. #define    ERROR_OPDEVTTY2    21    /* spawn: second open() failed on /dev/tty */
  20. #define    ERROR_NOTTY    22    /* spawn: ioctl() failed on TIOCNOTTY */
  21. #define    ERROR_TIOCSETP    23    /* spawn: ioctl() failed on TIOCSETP */
  22. #define    ERROR_TIOCSETC    24    /* spawn: ioctl() failed on TIOCSETC */
  23. #define    ERROR_TIOCSETD    25    /* spawn: ioctl() failed on TIOCSETD */
  24. #define    ERROR_TIOCSLTC    26    /* spawn: ioctl() failed on TIOCSLTC */
  25. #define    ERROR_TIOCLSET    27    /* spawn: ioctl() failed on TIOCLSET */
  26. #define    ERROR_TSLOT3    28    /* spawn: tslot() failed  */
  27. #define    ERROR_FORK    29    /* spawn: fork() failed */
  28. #define    ERROR_EXEC    30    /* spawn: exec() failed */
  29. #define    ERROR_OPDEVTTY3    31    /* spawn: third open() failed on /dev/tty */
  30. #define    ERROR_PTYS    32    /* get_pty: not enough ptys */
  31. #define    ERROR_NOX    33    /* get_terminal: can't connect to server */
  32. #define    ERROR_NOX2    34    /* get_terminal: can't connect and getty */
  33. #define    ERROR_TITLEFONT    35    /* get_terminal: can't open title font */
  34. #define    ERROR_INIT    36    /* spawn: can't initialize window */
  35. #define    ERROR_NOCO    37    /* resize: no `co' in termcap */
  36. #define    ERROR_NOLI    38    /* resize: no `li' in termcap */
  37. #define    ERROR_BORDER    39    /* get_terminal: can't make border tile */
  38. #define    ERROR_BACK    40    /* get_terminal: can't make background tile */
  39. /* charproc.c */
  40. #define    ERROR_SELECT    50    /* in_put: select() failed */
  41. #define    ERROR_CRTITLE    51    /* VTTitleInit: XCreateWindow() failed */
  42. #define    ERROR_HILITE    52    /* VTTitleInit: make_hilite() failed */
  43. #define    ERROR_CRLFRG    53    /* VTTitleInit: XCreateWindows() failed */
  44. #define    ERROR_VINIT    54    /* VTInit: can't initialize window */
  45. #define    ERROR_RTMALLOC1    55    /* VTRetitle: malloc failed */
  46. #define    ERROR_RTMALLOC2    56    /* VTRetitle: malloc failed */
  47. /* Tekproc.c */
  48. #define    ERROR_TSELECT    60    /* Tinput: select() failed */
  49. #define    ERROR_TCRTITLE    61    /* TekTitleInit: XCreateWindow() failed */
  50. #define    ERROR_THILITE    62    /* TekTitleInit: make_hilite() failed */
  51. #define    ERROR_TCRLFRG    63    /* TekTitleInit: XCreateWindows() failed */
  52. #define    ERROR_TINIT    64    /* TekInit: can't initialize window */
  53. #define    ERROR_TBACK    65    /* TekBackground: can't make background */
  54. #define    ERROR_TWINNAME    66    /* TekInit: malloc failed */
  55. /* button.c */
  56. #define    ERROR_BMALLOC    70    /* GetRestOfLine: malloc() failed */
  57. #define    ERROR_BMALLOC2    71    /* SaltTextAway: malloc() failed */
  58. /* misc.c */
  59. #define    ERROR_LOGEXEC    80    /* StartLog: exec() failed */
  60. #define    ERROR_OPENBITMAP 81    /* IconInit: XReadBitmapFile returns zero */
  61. #define    ERROR_SYNTAXBITMAP 82    /* IconInit: XReadBitmapFile returns negative */
  62. #define    ERROR_XERROR    83    /* xerror: XError event */
  63. #define    ERROR_XIOERROR    84    /* xioerror: X I/O error */
  64. #define    ERROR_WINNAME    85    /* IconInit: malloc failed */
  65. /* screen.c */
  66. #define    ERROR_SCALLOC    90    /* Alloc: calloc() failed on base */
  67. #define    ERROR_SCALLOC2    91    /* Alloc: calloc() failed on rows */
  68. #define    ERROR_SREALLOC    92    /* ScreenResize: realloc() failed on alt base */
  69. #define    ERROR_SREALLOC2    93    /* ScreenResize: realloc() failed on alt rows */
  70. #define    ERROR_SREALLOC3    94    /* ScreenResize: realloc() failed on rows */
  71. #define    ERROR_SREALLOC4    95    /* ScreenResize: realloc() failed on rows */
  72. #define    ERROR_RESIZE    96    /* ScreenResize: malloc() or realloc() failed */
  73. #define    ERROR_RESIZE2    97    /* ScreenResize: malloc() or realloc() failed */
  74. #define    ERROR_RESIZROW    98    /* ScreenResize: realloc() failed on alt char */
  75. #define    ERROR_RESIZROW2    99    /* ScreenResize: realloc() failed on alt attr */
  76. #define    ERROR_RESIZROW3    100    /* ScreenResize: realloc() failed on attr */
  77. #define    ERROR_RESIZROW4    101    /* ScreenResize: realloc() failed on attr */
  78. /* scrollbar.c */
  79. #define    ERROR_SBRALLOC    110    /* ScrollBarOn: realloc() failed on base */
  80. #define    ERROR_SBRALLOC2    111    /* ScrollBarOn: realloc() failed on rows */
  81. /* util.c */
  82. #define    ERROR_UBACK    120    /* ReverseVideo: can't make background */
  83.