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