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
#include "fmtdef.h"
4
 
5
 
6
/*
7
 * format a string into the output buffer
8
 * designed for formats which themselves call fmt
9
 */
10
int
11
fmtprint(Fmt *f, char *fmt, ...)
12
{
13
	va_list va;
14
	int n;
15
 
16
	va_start(va, fmt);
17
	n = fmtvprint(f, fmt, va);
18
	va_end(va);
19
	return n;
20
}
21