plan9port/src/libregexp/regerror.c

15 lines
196 B
C
Raw Normal View History

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));
exits("regerr");
2003-09-30 17:47:41 +00:00
}