User Tools

Site Tools


Sidebar

Table Of Contents

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

bpres

Name

Bpres — Test for field presence in UBF buffer

Synopsis

#include <ubf.h>

int Bpres (UBFH *p_ub, BFLDID bfldid, BFLDOCC occ);

Link with -lubf -lnstd -lm -lpthread

DESCRIPTION

Test the UBF buffer (p_ub) for field bfldid presence at occurrence occ.

RETURN VALUE

If field is present, functions returns 1, if field is not present, function returns 0.

ERRORS

Function does not return error. If buffer is invalid, then it will return 0 (field not present).

EXAMPLE

See ubftest/ubfunit1.c for sample code.

BUGS

Report bugs to support@mavimax.com

COPYING

© Mavimax, Ltd