shithub: scc

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