SCCS-vsn: usr.bin/pascal/libpc/PCSTART.c 1.6
/* Copyright (c) 1979 Regents of the University of California */
/* Copyright (c) 1979 Regents of the University of California */
-static char sccsid[] = "@(#)PCSTART.c 1.5 %G%";
+static char sccsid[] = "@(#)PCSTART.c 1.6 %G%";
+PCSTART(mode)
+ int mode;
{
/*
* necessary only on systems which do not initialize
{
/*
* necessary only on systems which do not initialize
+ /*
+ * if running with runtime tests enabled, give more
+ * coherent error messages for FPEs
+ */
+ if (mode) {
+ signal(SIGFPE, EXCEPT);
+ }
for (ip = &_actfile[3]; ip < &_actfile[MAXFILES]; *ip++ = FILNIL);
}
for (ip = &_actfile[3]; ip < &_actfile[MAXFILES]; *ip++ = FILNIL);
}