Back to home page

Enduro/X

 
 

    


0001 BPRES(3)
0002 =======
0003 :doctype: manpage
0004 
0005 
0006 NAME
0007 ----
0008 Bpres - Test for field presence in UBF buffer
0009 
0010 
0011 SYNOPSIS
0012 --------
0013 
0014 #include <ubf.h>
0015 
0016 int Bpres (UBFH *'p_ub', BFLDID 'bfldid', BFLDOCC 'occ');
0017 
0018 Link with '-lubf -lnstd -lm -lpthread'
0019 
0020 DESCRIPTION
0021 -----------
0022 Test the *UBF* buffer ('p_ub') for field 'bfldid' presence at occurrence 'occ'.
0023 
0024 RETURN VALUE
0025 ------------
0026 If field is present, functions returns *1*, if field is not present, function returns *0*.
0027 
0028 ERRORS
0029 ------
0030 Function does not return error. If buffer is invalid, then it will return *0* (field not present).
0031 
0032 EXAMPLE
0033 -------
0034 See *ubftest/ubfunit1.c* for sample code.
0035 
0036 BUGS
0037 ----
0038 Report bugs to support@mavimax.com
0039 
0040 SEE ALSO
0041 --------
0042 *Bchg(3)* *Badd(3)* *CBadd(3)* *Bget(3)* *Badd(3)*
0043 
0044 COPYING
0045 -------
0046 (C) Mavimax, Ltd
0047