repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
minor fixes for safecopy & safemap tests
[minix.git]
/
commands
/
cawf
/
regerror.c
blob
01539061ff18fb5a0f09751fce856b5c1b47f80f
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
}