shithub: scc

ref: 8e212d00e17c23b79489215d6cc41da22381a550
dir: /lib/c/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);
}