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 <stdarg.h>
2
#include <errno.h>
3
#include "fmt.h"
4
 
5
extern char _plan9err[128];
6
 
7
void
8
werrstr(const char *fmt, ...)
9
{
10
	va_list arg;
11
 
12
	va_start(arg, fmt);
13
	snprint(_plan9err, sizeof _plan9err, fmt, arg);
14
	va_end(arg);
15
	errno = EPLAN9;
16
}