shithub: scc

ref: a7e3b10d2eb8c277917a18fd235540ccc4064964
dir: /src/libc/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);
}