shithub: riscv

ref: 8bebe3ab193201f2bd9c32328e229bf36fd2ad82
dir: /sys/src/libc/fmt/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;
}