Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include <u.h>
2
#include <libc.h>
3
 
4
int
5
sprint(char *buf, char *fmt, ...)
6
{
7
	int n;
8
	va_list args;
9
 
10
	va_start(args, fmt);
11
	n = vsnprint(buf, 65536, fmt, args);	/* big number, but sprint is deprecated anyway */
12
	va_end(args);
13
	return n;
14
}