blob: c64cd4940d6d66d6efc68d7ce33d9d8dbe0bba18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <u.h>
#include <libc.h>
void
rerrstr(char *buf, uint nbuf)
{
char tmp[ERRMAX];
tmp[0] = 0;
errstr(tmp, sizeof tmp);
utfecpy(buf, buf+nbuf, tmp);
errstr(tmp, sizeof tmp);
}
|