home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / LIBSRC.ZOO / libsrc / regexp / regerror.c < prev    next >
C/C++ Source or Header  |  1992-03-22  |  250b  |  19 lines

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