shithub: scc

ref: 547c5c8703133571adfcba5da8adc5df512229fa
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);
}