scsh-0.5/scsh/regexp/regerror.c

19 lines
222 B
C

/*
* regerror
*/
#include <stdio.h>
#include <stdlib.h>
void
regerror(s)
char *s;
{
#ifdef ERRAVAIL
error("regexp: %s", s);
#else
fprintf(stderr, "regexp(3): %s\n", s);
exit(EXIT_FAILURE);
#endif
/* NOTREACHED */
}