shithub: scc

ref: 4ddb383f2b1ea7f017404f94e9e2683af3bcc43f
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);
}