home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
fed0217s.zip
/
source
/
regerror.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-14
|
314b
|
22 lines
#include <regexp.h>
#include <stdio.h>
#ifdef ERRAVAIL
void regerror(char *s)
#else
void regerror(char *)
#endif
{
#ifdef ERRAVAIL
error("regexp: %s", s);
#else
/*
fprintf(stderr, "regexp(3): %s\n", s);
exit(1);
*/
return; /* let std. egrep handle errors */
#endif
/* NOTREACHED */
}