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_unix/sys/src/ape/lib/fmt/werrstr.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 <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
}