shithub: scc

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