shithub: scc

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