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