shithub: scc

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