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