0
|
1 /* ttyd.h - definitions for ttyd */
|
|
2 #ifndef lint
|
|
3 static char Id[] = "@(#)$Id$";
|
|
4 #endif
|
|
5
|
|
6 /* The Regents of the University of California wish to make it known that:
|
|
7 *
|
|
8 *
|
|
9 * DISCLAIMER
|
|
10 *
|
|
11 * "Although each program has been tested by its contributor, no
|
|
12 * warranty, express or implied, is made by the contributor or the
|
|
13 * University of California, as to the accuracy and functioning of
|
|
14 * the program and related program material, nor shall the fact of
|
|
15 * distribution constitute any such warranty, and no responsibility
|
|
16 * is assumed by the contributor or the University of California in
|
|
17 * connection herewith."
|
|
18 *
|
|
19 */
|
|
20
|
|
21 /* */
|
|
22
|
|
23 #define MAIL "/bin/mail"
|
|
24
|
|
25 #define SMLWAIT 60 /* seconds for select() */
|
|
26
|
|
27
|
|
28 #define NOTOK (-1)
|
|
29 #define OK 0
|
|
30 #define DONE 1
|
|
31
|
|
32 #define TRUE 1
|
|
33 #define FALSE 0
|
|
34
|
|
35 #define serror \
|
|
36 (errno > 0 && errno < sys_nerr ? sys_errlist[errno] : "Unknown error")
|
|
37
|
10
|
38 #include <errno.h>
|
|
39 // extern int errno;
|
0
|
40 #ifndef BSD44
|
|
41 extern int sys_nerr;
|
|
42 extern char *sys_errlist[];
|
|
43 extern char *sys_siglist[];
|
|
44 #endif
|