blob: d7b264048c794d5b4244b37610243d60c03dd295 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/*
* ERRS.H -- Type codes for first arg to error(). see errs.c.
* Just use bits for easy testing. if the type is or'd with E_P,
* then the systems own error info will also be printed by error().
* Also declare the external diagnostic strings.
*
* E_UERR is a normal user diagnostic.
* E_IERR is an internal consistency check failure or system error.
* E_FERR is a fatal internal error. it causes error() to call shutdown().
* E_P or-ed in causes call to perror() to print system error message.
*/
#define E_UERR 001
#define E_IERR 002
#define E_FERR 004
#define E_P 01000
/* The diagnostic strings. defined in errs.c.
*/
extern char *e_appopen;
extern char *e_badstrop;
extern char *e_badsw;
extern char *e_edom;
extern char *e_erange;
extern char *e_fpe;
extern char *e_geonearg;
extern char *e_indexunf;
extern char *e_nominmax;
extern char *e_nopfile;
extern char *e_badpfile;
extern char *e_nostrcnv;
extern char *e_notbool;
extern char *e_onearg;
extern char *e_pambig;
extern char *e_pckambig;
extern char *e_pcknonexist;
extern char *e_posargs;
extern char *e_pnonexist;
extern char *e_ropen;
extern char *e_simplep;
extern char *e_strplusreal;
extern char *e_soverflow;
extern char *e_sunderflow;
extern char *e_tambig;
extern char *e_tnonexist;
extern char *e_twoargs;
extern char *e_unlink;
extern char *e_uopcode;
extern char *e_wopen;
extern char *e_fdivzero;
extern char *e_idivzero;
|