code: purgatorio

ref: 3efb5bbb4061056e523858b134c555949591efe2
dir: /utils/libregexp/regerror.c/

View raw version
#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");
}