Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_posix/sys/src/liboventi/scorefmt.c – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include <u.h>
2
#include <libc.h>
3
#include <oventi.h>
4
 
5
int
6
vtScoreFmt(Fmt *f)
7
{
8
	uchar *v;
9
	int i;
10
 
11
	v = va_arg(f->args, uchar*);
12
	if(v == nil){
13
		fmtprint(f, "*");
14
	}else{
15
		for(i = 0; i < VtScoreSize; i++)
16
			fmtprint(f, "%2.2ux", v[i]);
17
	}
18
 
19
	return 0;
20
}