shithub: scc

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