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