shithub: scc

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