ref: b5c01b5d701dc1c3bbca24175041390a3c4a3db3 dir: /src/libc/stdio/setbuf.c/
#include <stdio.h> #undef setbuf void setbuf(FILE * restrict fp, char * restrict buf) { setvbuf(fp, buf, (buf) ? _IOFBF : _IONBF, BUFSIZ); }