/* @(#)jos_io.h	1.7 03/08/23 Copyright 1985 J. Schilling */
/*
 *	Copyright (c) 1985 J. Schilling
 */
/*
 * The contents of this file are subject to the terms of the
 * Common Development and Distribution License, Version 1.0 only
 * (the "License").  You may not use this file except in compliance
 * with the License.
 *
 * See the file CDDL.Schily.txt in this distribution for details.
 *
 * When distributing Covered Code, include this CDDL HEADER in each
 * file and include the License file CDDL.Schily.txt from this distribution.
 */

#ifndef	_JOS_IO_H
#define	_JOS_IO_H

#ifndef _MCONFIG_H
#include <mconfig.h>
#endif

#ifndef	_JOS_MAXP_H
#	include <jos_maxp.h>
#endif

#ifdef 	JOS
#	define	STDIN_FILENO	1
#	define	STDOUT_FILENO	2
#	define	STDERR_FILENO	3
/*
 *	Program exit codes
 */
#	undef	EX_BAD
#	define	EX_BAD		1

#endif	/* JOS */

#ifdef 	_JOS
#		ifndef	JOS
			typedef	FILE	*_UFILE;
#			ifdef	FILE
#				undef	FILE
#			endif
#			define	FILE	_UFILE
#		endif	/* JOS */
#endif	/* _JOS */

#endif	/* _JOS_IO_H */
