shithub: scc

ref: 8eae1d47c3534a3ce3902a8895e80dbb4f90375a
dir: /lib/c/stdio/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);
}