summaryrefslogtreecommitdiff
path: root/sys/src/cmd/unix/drawterm/libc/runefmtstr.c
blob: ed39d278b73a3d8cc8a2c694e0b7cadbcd414d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <u.h>
#include <libc.h>
#include "fmtdef.h"

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