Files
9base/lib9/regex/regerror.c
garbeam@wmii.de e5f0f74b8a initial import
2005-11-20 18:27:27 +02:00

15 lines
196 B
C

#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));
exits("regerr");
}