code: drawterm

ref: f11139d4c918802a87730bc14d094670ee4ce572
dir: /libc/runefmtstr.c/

View raw version
#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;
}