xref: /original-bsd/usr.bin/f77/libF77/s_stop.c (revision 0f30d223)
1 /*
2  *	"@(#)s_stop.c	1.1"
3  */
4 
5 #include <stdio.h>
6 
7 s_stop(s, n)
8 char *s;
9 long int n;
10 {
11 int i;
12 
13 if(n > 0)
14 	{
15 	fprintf(stderr, "STOP: ");
16 	for(i = 0; i<n ; i++)
17 		putc(*s++, stderr);
18 	putc('\n', stderr);
19 	}
20 f_exit();
21 _cleanup();
22 exit(0);
23 }
24