shithub: scc

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