2003-09-30 17:47:41 +00:00
|
|
|
#include "lib9.h"
|
|
|
|
#include "regexp9.h"
|
|
|
|
|
|
|
|
void
|
|
|
|
regerror(char *s)
|
|
|
|
{
|
|
|
|
char buf[132];
|
|
|
|
|
|
|
|
strcpy(buf, "regerror: ");
|
|
|
|
strcat(buf, s);
|
|
|
|
strcat(buf, "\n");
|
|
|
|
write(2, buf, strlen(buf));
|
2004-03-05 05:13:56 +00:00
|
|
|
exits("regerr");
|
2003-09-30 17:47:41 +00:00
|
|
|
}
|