git: 9front

ref: d12cd57c7b7c462deb644c2056e8906e2fee4b93
dir: /sys/src/cmd/unix/drawterm/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;
}