If an error occurs during a call to ba_open(), the variable ba_errno is set to:
BA_SYSERR
OS error: check errno