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