code: drawterm

ref: e4f9a4578a50e9b6694514e7c94004f4b82f6eab
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;
}