mirror of
https://github.com/0intro/wmii
synced 2024-11-24 22:59:45 +03:00
16 lines
217 B
C
16 lines
217 B
C
#include <stdlib.h>
|
|
#include <plan9.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");
|
|
}
|