Artifact e8c2377cf8a6ea2cbd61fef93a24353fb925415f64fe31921d8e0b1417df19c3:
- File lib/libstuff/fmt/fmtbuf.c — part of check-in [15eae1e8e6] at 2019-06-20 16:42:23 on branch trunk — Import sources to have something to work with (user: KhazAkar size: 186)
#include "fmtdef.h" Fmt fmtbuf(char *buf, int len) { Fmt f; f.runes = 0; f.start = buf; f.to = buf; f.stop = buf + len - 1; f.flush = 0; f.farg = nil; f.nfmt = 0; return f; }