ref: e03e9178e2764004e07d750690ca3cdd43bdf569 dir: /libc/fmtstr.c/
#include <u.h> #include <libc.h> char* fmtstrflush(Fmt *f) { if(f->start == nil) return nil; *(char*)f->to = '\0'; return f->start; }