ref: e81c54ba2ecc673a4d5f8aed0e9b52841fe07b0d
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"); }