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