The prototypes of functions are in avldb.h.
These functions never returns indication of failure, in the case of malloc failure library aborts if envinroment variable "AVLDB_ABORT_OK" is set. If no envinroment variable "AVLDB_ABORT_OK" is seen, malloc wrapper calls user define malloc-failure handler-function, default is sleep() .
API functions returning AVLDB_IFTYPE returns NULL on failure, oherwise AVLDB_IFTYPE handle .
Integer API functions returns 0 have no common return template.