Back to home page

Enduro/X

 
 

    


0001 BDEL(3)
0002 =======
0003 :doctype: manpage
0004 
0005 
0006 NAME
0007 ----
0008 Bdel - Delete field from UBF buffer
0009 
0010 
0011 SYNOPSIS
0012 --------
0013 
0014 #include <ubf.h>
0015 
0016 int Bdel (UBFH * 'p_ub', BFLDID 'bfldid', BFLDOCC 'occ');
0017 
0018 Link with '-lubf -lnstd -lm -lpthread'
0019 
0020 DESCRIPTION
0021 -----------
0022 Delete the field 'bfldid' with occurrence 'occ' from UBF buffer 'p_ub'.
0023 
0024 RETURN VALUE
0025 ------------
0026 On success, *Bdel()* return zero; on error, -1 is returned, with *Berror* set to indicate the error.
0027 
0028 ERRORS
0029 ------
0030 Note that *Bstrerror()* returns generic error message plus custom message with debug info from last function call.
0031 
0032 *BALIGNERR* Corrupted buffer or pointing to not aligned memory area.
0033 
0034 *BNOTFLD* Buffer not fielded, not correctly allocated or corrupted.
0035 
0036 *BBADFLD* Invalid field id passed.
0037 
0038 *BNOTPRES* Field not present.
0039 
0040 EXAMPLE
0041 -------
0042 See *ubftest/test_bdel.c* for sample code.
0043 
0044 BUGS
0045 ----
0046 Report bugs to support@mavimax.com
0047 
0048 SEE ALSO
0049 --------
0050 *Bchg(3)* *Badd(3)* *CBadd(3)* *Bget(3)* *Badd(3)*
0051 
0052 COPYING
0053 -------
0054 (C) Mavimax, Ltd
0055