ref: 44ce0097b612a1fefd754065bdf8d9d2e5ef60c8
dir: /utils/libregexp/regerror.c/
#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"); }