Table of Contents
#include <ubf.h>
int Bdelete (UBFH *p_ub, BFLDID *fldlist);
Link with -lubf -lnstd -lm -lpthread
This function removes any field from p_ub buffer which are present in fldlist array. The array must be terminated with BBADFLDID.
On success, Bdelete() 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.
BALIGNERR Corrupted buffer or pointing to not aligned memory area.
BNOTFLD Buffer not fielded, not correctly allocated or corrupted.
Report bugs to support@mavimax.com