source:
trunk/minix/commands/cawf/regerror.c@
10
Last change on this file since 10 was 9, checked in by , 14 years ago | |
---|---|
File size: 299 bytes |
Line | |
---|---|
1 | #include <stdio.h> |
2 | #include "regexp.h" |
3 | #include "proto.h" |
4 | |
5 | void |
6 | regerror(s) |
7 | char *s; |
8 | { |
9 | #ifndef DOSPORT |
10 | #ifdef ERRAVAIL |
11 | error("regexp: %s", s); |
12 | #else |
13 | fprintf(stderr, "regexp(3): %s", s); |
14 | exit(1); |
15 | #endif |
16 | /* NOTREACHED */ |
17 | #endif /* ifdef'd out for less's sake when reporting error inside less */ |
18 | } |
Note:
See TracBrowser
for help on using the repository browser.