]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/uip/ttyd.h
sbr/mts.c: Delete mmdlm2; use same-valued mmdlm1 instead.
[nmh] / docs / historical / mh-6.8.5 / uip / ttyd.h
1 /* ttyd.h - definitions for ttyd */
2 #ifndef lint
3 static char Id[] = "@(#)$Id: ttyd.h,v 1.2 1993/08/25 17:29:12 jromine Exp $";
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 /* \f */
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
38 extern int errno;
39 #ifndef BSD44
40 extern int sys_nerr;
41 extern char *sys_errlist[];
42 extern char *sys_siglist[];
43 #endif