git: 9front

ref: ce5aa6c86476d8aab853cf7f18d75af5d2baf2fe
dir: /sys/src/ape/lib/bsd/setlinebuf.c/

View raw version
#include <stdio.h>

void
setlinebuf(FILE *f)
{
	static char buf[BUFSIZ];

	setvbuf (f, buf, _IOLBF, BUFSIZ);
}