Mercurial > hg > Applications > mh
view uip/ttyd.h @ 16:07f8972434be
fix for Yosemita Clang
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 12 Nov 2014 02:46:27 +0900 |
parents | 441a2190cfae |
children |
line wrap: on
line source
/* ttyd.h - definitions for ttyd */ #ifndef lint static char Id[] = "@(#)$Id: ttyd.h,v 1.2 2006/12/05 18:18:14 kono Exp $"; #endif /* The Regents of the University of California wish to make it known that: * * * DISCLAIMER * * "Although each program has been tested by its contributor, no * warranty, express or implied, is made by the contributor or the * University of California, as to the accuracy and functioning of * the program and related program material, nor shall the fact of * distribution constitute any such warranty, and no responsibility * is assumed by the contributor or the University of California in * connection herewith." * */ /* */ #define MAIL "/bin/mail" #define SMLWAIT 60 /* seconds for select() */ #define NOTOK (-1) #define OK 0 #define DONE 1 #define TRUE 1 #define FALSE 0 #define serror \ (errno > 0 && errno < sys_nerr ? sys_errlist[errno] : "Unknown error") #include <errno.h> // extern int errno; #ifndef BSD44 extern int sys_nerr; extern char *sys_errlist[]; extern char *sys_siglist[]; #endif