blob: 09b0b994fcddde71cda5e0738b1ea1fe6cd6866d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <lib9.h>
#include "regexp.h"
void
regerror(char *s)
{
char buf[132];
strcpy(buf, "regerror: ");
strcat(buf, s);
strcat(buf, "\n");
write(2, buf, strlen(buf));
exits("regerr");
}
|