shithub: scc

ref: ef9e03046d35d4d0a3a73316e4675470228ebc98
dir: /src/libc/stdio/setbuf.c/

View raw version
#include <stdio.h>
#undef setbuf

void
setbuf(FILE * restrict fp, char * restrict buf)
{
	setvbuf(fp, buf, (buf) ? _IOFBF : _IONBF, BUFSIZ);
}