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