shithub: scc

ref: 6af5d14fad953416477587c3e0271c847f24e370
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);
}