wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

regerror.c (217B)


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