home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume26 / op / part01 / regerror.c < prev    next >
C/C++ Source or Header  |  1992-12-26  |  224b  |  18 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. /*
  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.