git: 9front

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