4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history] / usr / src / sys / stand.att / sys.c
/*-
* Copyright (c) 1982, 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* %sccs.include.proprietary.c%
*
* @(#)sys.c 8.1 (Berkeley) %G%
*/
#include <sys/param.h>
#include <sys/reboot.h>
#include <ufs/ufs/dir.h>
#include <stand.att/saio.h>
struct iob iob[SOPEN_MAX];
int errno;
#ifndef i386
exit()
{
_stop("Exit called");
}
#endif
_stop(s)
char *s;
{
static int stopped;
int i;
if (!stopped) {
stopped = 1;
for (i = 0; i < SOPEN_MAX; i++)
if (iob[i].i_flgs != 0)
(void)close(i);
}
printf("%s\n", s);
_rtt();
}
/*
* For gcc
*/
__main()
{
return;
}