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