shithub: scc

ref: 39c2438cf25b7cc066151b49b2d112a1b9209006
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);
}