view uip/ttyd.h @ 12:441a2190cfae

Lion fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 21 Apr 2012 13:10:49 +0900
parents a6481689f99c
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