Blame


1 b2cfc4e2 2003-09-30 devnull #include <lib9.h>
2 b2cfc4e2 2003-09-30 devnull
3 b2cfc4e2 2003-09-30 devnull void
4 b2cfc4e2 2003-09-30 devnull werrstr(char *fmt, ...)
5 b2cfc4e2 2003-09-30 devnull {
6 b2cfc4e2 2003-09-30 devnull va_list arg;
7 b2cfc4e2 2003-09-30 devnull char buf[ERRMAX];
8 b2cfc4e2 2003-09-30 devnull
9 b2cfc4e2 2003-09-30 devnull va_start(arg, fmt);
10 b2cfc4e2 2003-09-30 devnull vseprint(buf, buf+ERRMAX, fmt, arg);
11 b2cfc4e2 2003-09-30 devnull va_end(arg);
12 b2cfc4e2 2003-09-30 devnull errstr(buf, ERRMAX);
13 b2cfc4e2 2003-09-30 devnull }