bop_open
#define BOP_OPEN(s, flags) bop_open(s, flags)
extern int bop_open(const char *s, int flags);