home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d179 / regexp.lha / Regexp / regerror.c < prev    next >
C/C++ Source or Header  |  1989-02-25  |  197b  |  15 lines

  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.     fprintf(stderr, "regexp(3): %s", s);
  11.     exit(1);
  12. #endif
  13.     /* NOTREACHED */
  14. }
  15.