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