hbase

heirloom base
git clone git://git.2f30.org/hbase
Log | Files | Refs | README

regerror.c (196B)


      1 #include "lib9.h"
      2 #include "regexp9.h"
      3 
      4 void
      5 regerror(char *s)
      6 {
      7 	char buf[132];
      8 
      9 	strcpy(buf, "regerror: ");
     10 	strcat(buf, s);
     11 	strcat(buf, "\n");
     12 	write(2, buf, strlen(buf));
     13 	exits("regerr");
     14 }