shithub: drawterm

ref: 7732ac0a9b2e8f6c07945bfb8a99bd80f8f028ed
dir: /libc/runefmtstr.c/

View raw version
#include <u.h>
#include <libc.h>

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