Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include <stdlib.h>
2
#include <stdio.h>
3
#include <string.h>
4
#include "regexp.h"
5
 
6
void
7
regerror(char *s)
8
{
9
	char buf[132];
10
 
11
	strcpy(buf, "regerror: ");
12
	strcat(buf, s);
13
	strcat(buf, "\n");
14
	fwrite(buf, 1, strlen(buf), stderr);
15
	exit(1);
16
}