scsh-0.5/scsh/regexp/regerror.c

15 lines
198 B
C
Raw Normal View History

1995-10-13 23:34:21 -04:00
#include <stdio.h>
void
regerror(s)
char *s;
{
#ifdef ERRAVAIL
error("regexp: %s", s);
#else
fprintf(stderr, "regexp(3): %s", s);
exit(1);
#endif
/* NOTREACHED */
}