1 /* $XTermId: error.h,v 1.23 2010/05/21 21:03:27 tom Exp $ */
4 * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
8 * Permission to use, copy, modify, and distribute this software and its
9 * documentation for any purpose and without fee is hereby granted,
10 * provided that the above copyright notice appear in all copies and that
11 * both that copyright notice and this permission notice appear in
12 * supporting documentation, and that the name of Digital Equipment
13 * Corporation not be used in advertising or publicity pertaining to
14 * distribution of the software without specific, written prior permission.
17 * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
18 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
19 * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
20 * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
22 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
26 /* @(#)error.h X10/6.6 11/6/86 */
29 #define ERROR_FIONBIO 11 /* main: ioctl() failed on FIONBIO */
30 #define ERROR_F_GETFL 12 /* main: ioctl() failed on F_GETFL */
31 #define ERROR_F_SETFL 13 /* main: ioctl() failed on F_SETFL */
32 #define ERROR_OPDEVTTY 14 /* spawn: open() failed on /dev/tty */
33 #define ERROR_TIOCGETP 15 /* spawn: ioctl() failed on TIOCGETP */
34 #define ERROR_PTSNAME 17 /* spawn: ptsname() failed */
35 #define ERROR_OPPTSNAME 18 /* spawn: open() failed on ptsname */
36 #define ERROR_PTEM 19 /* spawn: ioctl() failed on I_PUSH/"ptem" */
37 #define ERROR_CONSEM 20 /* spawn: ioctl() failed on I_PUSH/"consem" */
38 #define ERROR_LDTERM 21 /* spawn: ioctl() failed on I_PUSH/"ldterm" */
39 #define ERROR_TTCOMPAT 22 /* spawn: ioctl() failed on I_PUSH/"ttcompat" */
40 #define ERROR_TIOCSETP 23 /* spawn: ioctl() failed on TIOCSETP */
41 #define ERROR_TIOCSETC 24 /* spawn: ioctl() failed on TIOCSETC */
42 #define ERROR_TIOCSETD 25 /* spawn: ioctl() failed on TIOCSETD */
43 #define ERROR_TIOCSLTC 26 /* spawn: ioctl() failed on TIOCSLTC */
44 #define ERROR_TIOCLSET 27 /* spawn: ioctl() failed on TIOCLSET */
45 #define ERROR_INIGROUPS 28 /* spawn: initgroups() failed */
46 #define ERROR_FORK 29 /* spawn: fork() failed */
47 #define ERROR_EXEC 30 /* spawn: exec() failed */
48 #define ERROR_PTYS 32 /* get_pty: not enough ptys */
49 #define ERROR_PTY_EXEC 34 /* waiting for initial map */
50 #define ERROR_SETUID 35 /* spawn: setuid() failed */
51 #define ERROR_INIT 36 /* spawn: can't initialize window */
52 #define ERROR_TIOCKSET 46 /* spawn: ioctl() failed on TIOCKSET */
53 #define ERROR_TIOCKSETC 47 /* spawn: ioctl() failed on TIOCKSETC */
54 #define ERROR_LUMALLOC 49 /* luit: command-line malloc failed */
57 #define ERROR_SELECT 50 /* in_put: select() failed */
58 #define ERROR_VINIT 54 /* VTInit: can't initialize window */
59 #define ERROR_KMMALLOC1 57 /* HandleKeymapChange: malloc failed */
62 #define ERROR_TSELECT 60 /* Tinput: select() failed */
63 #define ERROR_TINIT 64 /* TekInit: can't initialize window */
66 #define ERROR_BMALLOC2 71 /* SaltTextAway: malloc() failed */
69 #define ERROR_LOGEXEC 80 /* StartLog: exec() failed */
70 #define ERROR_XERROR 83 /* xerror: XError event */
71 #define ERROR_XIOERROR 84 /* xioerror: X I/O error */
74 #define ERROR_SCALLOC 90 /* Alloc: calloc() failed on base */
75 #define ERROR_SCALLOC2 91 /* Alloc: calloc() failed on rows */
76 #define ERROR_SAVE_PTR 102 /* ScrnPointers: malloc/realloc() failed */
79 #define ERROR_MMALLOC 121 /* my_memmove: malloc/realloc failed */