1 2 3 4 5 6 7 8 9
#include <unistd.h> struct bh_file_s { bh_io_t base; char *path; int mode; int handle; };