mirror of
https://github.com/0intro/wmii
synced 2024-11-22 22:02:30 +03:00
16 lines
186 B
C
16 lines
186 B
C
#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;
|
|
}
|