repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync with HEAD.
[dragonfly.git]
/
lib
/
libcompat
/
regexp
/
regerror.c
blob
6d0077d6342936f3a375f7b557034c5afb19b452
1
#include <regexp.h>
2
#include <stdio.h>
3
4
void
5
regerror
(
s
)
6
const char
*
s
;
7
{
8
#ifdef ERRAVAIL
9
error
(
"regexp: %s"
,
s
);
10
#else
11
/*
12
fprintf(stderr, "regexp(3): %s\n", s);
13
exit(1);
14
*/
15
return
;
/* let std. egrep handle errors */
16
#endif
17
/* NOTREACHED */
18
}