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