home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / ed.zip / regerror.c < prev    next >
C/C++ Source or Header  |  1989-12-05  |  184b  |  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.