Bvselinit — Initialize view field to NULL value.
#include <ubf.h>
int Bvselinit(char *cstruct, char *cname, char *view);
Link with -lubf -lnstd -lm -lpthread
Initialize view member value to NULL value specified in view file. The pointer to C structure is specified in cstruct parameter. The file name is specified in cname. The view name is specified view. If view field is array (COUNT greater than 1), then all array elements are initialized to NULL value.
On success, Bvselinit() return zero; on error, -1 is returned, with Berror set to indicate the error.
Note that Bstrerror() returns generic error message plus custom message with debug info from last function call.
BEINVAL cstruct, cname or view parameters are NULL.
BNOCNAME cname not found.
BBADVIEW View is not found, object file is defective or system error.
BVFSYNTAX Defective object file, cannot load.