summaryrefslogtreecommitdiff
path: root/sys/src/libc/fmt/runefmtstr.c
blob: 9ce9c131c98f9e4cc99896db71071cf9b5567e45 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <u.h>
#include <libc.h>

Rune*
runefmtstrflush(Fmt *f)
{
	if(f->start == nil)
		return nil;
	*(Rune*)f->to = '\0';
	return f->start;
}