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