shithub: scc

ref: 994751d39485e086ef623f202fb1b84729fd5d19
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);
}