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