ref: 74e56dbf3584ec61637d31618e171a18058f0946 dir: /sys/src/ape/lib/bsd/setlinebuf.c/
#include <stdio.h> void setlinebuf(FILE *f) { static char buf[BUFSIZ]; setvbuf (f, buf, _IOLBF, BUFSIZ); }