home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
unix
/
volume7
/
regex
/
re_fail.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1988-10-17
|
292 b
|
23 lines
#ifdef vms
#include stdio
#else
#include <stdio.h>
#endif
/*
* re_fail:
* internal error handler for re_exec.
*
* should probably do something like a
* longjump to recover gracefully.
*/
void
re_fail(s, c)
char *s;
char c;
{
fprintf(stderr, "%s [opcode %o]\n", s, c);
exit(1);
}