root/foundation-apps/mxterm-maxx/error.h

Revision 8, 4.1 KB (checked in by emasson, 3 years ago)

initial import for the community edition

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