wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

fmtbuf.c (186B)


      1 #include "fmtdef.h"
      2 
      3 Fmt
      4 fmtbuf(char *buf, int len) {
      5 	Fmt f;
      6 
      7 	f.runes = 0;
      8 	f.start = buf;
      9 	f.to = buf;
     10 	f.stop = buf + len - 1;
     11 	f.flush = 0;
     12 	f.farg = nil;
     13 	f.nfmt = 0;
     14 	return f;
     15 }