blob: b9d2902dedc1b594085b52c22e28d3dcffd9d3be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef lint
static char *rcsid = "$Id: regerror.c,v 1.1 1995/10/18 08:42:35 deraadt Exp $";
#endif /* not lint */
#include <regexp.h>
#include <stdio.h>
void
regerror(s)
const char *s;
{
#ifdef ERRAVAIL
error("regexp: %s", s);
#else
/*
fprintf(stderr, "regexp(3): %s\n", s);
exit(1);
*/
return; /* let std. egrep handle errors */
#endif
/* NOTREACHED */
}
|