1 #include <stdio.h> 2 3 void 4 regerror(s) 5 char *s; 6 { 7 #ifdef ERRAVAIL 8 error("regexp: %s", s); 9 #else 10 /* 11 fprintf(stderr, "regexp(3): %s\n", s); 12 exit(1); 13 */ 14 return; /* let std. egrep handle errors */ 15 #endif 16 /* NOTREACHED */ 17 } 18