mirror of
https://github.com/0intro/wmii
synced 2024-11-25 07:09:38 +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");
|
|
}
|