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