File: s_re_fail.c

package info (click to toggle)
super 3.11.6-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 660 kB
  • ctags: 592
  • sloc: ansic: 7,338; sh: 183; makefile: 175
file content (22 lines) | stat: -rw-r--r-- 383 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
static char rcsid[] = "$Id: s_re_fail.c,v 1.5 1998/03/02 06:53:59 will Exp $";
#ifdef vms
#include stdio
#else
#include <stdio.h>
#endif

/* 
 * s_re_fail:
 *	internal error handler for s_re_exec.
 *
 *	should probably do something like a
 *	longjump to recover gracefully.
 */ 
void	
s_re_fail(s, c)
char *s;
char c;
{
	(void) fprintf(stderr, "%s [opcode %o]\n", s, c);
	exit(1);
}