shithub: scc

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