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