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