shithub: scc

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