shithub: scc

ref: 2ef958d9809092755fd5fb1f154c8ab97cb8604e
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);
}