ref: 0ac845b70a399350109cadb5ec31b18cb35f2e6f
dir: /include/bio.h/
#include <stdio.h> typedef FILE Biobufhdr; typedef Biobufhdr Biobuf; static uint8_t lastc; static int Bgetc(Biobufhdr *bp) { lastc = fgetc(bp); return feof(bp) ? -1 : lastc; } static int Bungetc(Biobufhdr *bp) { ungetc(lastc, bp); lastc = 0; return 0; } static Biobufhdr * Bfdopen(int f, int mode) { return stdin; }