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
kernel - Cleanup, add assertions in the vnode freeing path
[dragonfly.git]
/
lib
/
libcompat
/
regexp
/
regerror.c
blob
d16e5d8c9dc0805aedc95355d13c07d608f9efc4
1
/* $DragonFly: src/lib/libcompat/regexp/regerror.c,v 1.2 2008/09/30 16:57:04 swildner Exp $ */
2
3
#include <regexp.h>
4
#include <stdio.h>
5
6
void
7
regerror
(
const char
*
s
)
8
{
9
#ifdef ERRAVAIL
10
error
(
"regexp: %s"
,
s
);
11
#else
12
/*
13
fprintf(stderr, "regexp(3): %s\n", s);
14
exit(1);
15
*/
16
return
;
/* let std. egrep handle errors */
17
#endif
18
/* NOTREACHED */
19
}