Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_posix/sys/src/ape/lib/regexp/regerror.c – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | 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
}