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).