User Tools

Site Tools


Sidebar

Table Of Contents

endurox:v7.5.x:api:ubf:bdelall.3

bdelall

Name

Bdelall — Remove all field occurrences from buffer

Synopsis

#include <ubf.h>

int Bdelall (UBFH *p_ub, BFLDID bfldid);

Link with -lubf -lnstd -lm -lpthread

DESCRIPTION

Remove all bfldid occurrences from p_ub UBF buffer.

RETURN VALUE

On success, Bdelall() return zero; on error, -1 is returned, with Berror set to indicate the error.

ERRORS

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 thus not deleted.

EXAMPLE

See ubftest/test_bproj.c for sample code.

BUGS

Report bugs to support@mavimax.com

COPYING

© Mavimax, Ltd