shithub: riscv

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