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