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