blob: 92b73a0d9188b78083aa32f6a7a733b619416c8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <u.h>
#include <libc.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");
}
|