mirror of
https://git.suckless.org/9base
synced 2025-08-26 18:03:48 -07:00
15 lines
196 B
C
15 lines
196 B
C
#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");
|
|
}
|