source:
trunk/minix/lib/other/v8regerror.c@
16
| Last change on this file since 16 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 373 bytes | |
| Line | |
|---|---|
| 1 | /* regerror() - Default regexp error report Author: Kees J. Bot |
| 2 | * 12 Jun 1999 |
| 3 | * |
| 4 | * A better version of this routine should be supplied by the user in |
| 5 | * the program using regexps. |
| 6 | */ |
| 7 | #include <stdio.h> |
| 8 | #define const /* avoid "const poisoning" */ |
| 9 | #include <regexp.h> |
| 10 | #undef const |
| 11 | |
| 12 | void regerror(char *message) |
| 13 | { |
| 14 | fprintf(stderr, "regexp error: %s\n", message); |
| 15 | } |
Note:
See TracBrowser
for help on using the repository browser.