Bdel — Delete field from UBF buffer
#include <ubf.h>
int Bdel (UBFH * p_ub, BFLDID bfldid, BFLDOCC occ);
Link with -lubf -lnstd -lm -lpthread
On success, Bdel() 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.
BBADFLD Invalid field id passed.
BNOTPRES Field not present.