Back to home page

Enduro/X

 
 

    


0001 BCONCAT(3)
0002 ==========
0003 :doctype: manpage
0004 
0005 
0006 NAME
0007 ----
0008 Bconcat - Concatinate UBF buffers
0009 
0010 
0011 SYNOPSIS
0012 --------
0013 
0014 #include <ubf.h>
0015 
0016 int Bconcat (UBFH *'p_ub_dst', UBFH *'p_ub_src');
0017 
0018 Link with '-lubf -lnstd -lm -lpthread'
0019 
0020 DESCRIPTION
0021 -----------
0022 Concatenate source buffer in 'p_ub_src' to destination buffer in 'p_ub_dst'. 
0023 Function will add any field from source buffer to destination buffer by using 
0024 *Badd(3)* function call.
0025 
0026 RETURN VALUE
0027 ------------
0028 On success, *Bproj()* return zero; on error, -1 is returned, with *Berror* set to indicate the error.
0029 
0030 ERRORS
0031 ------
0032 Note that *Bstrerror()* returns generic error message plus custom message with 
0033 debug info from last function call.
0034 
0035 *BALIGNERR* Source or dest buffer corrupted or pointing to not aligned memory area.
0036 
0037 *BNOTFLD* Source or dest buffer not fielded, not correctly allocated or corrupted.
0038 
0039 *BNOSPACE* No space left in target buffer.
0040 
0041 EXAMPLE
0042 -------
0043 See *ubftest/test_bconcat.c* for sample code.
0044 
0045 BUGS
0046 ----
0047 Report bugs to support@mavimax.com
0048 
0049 SEE ALSO
0050 --------
0051 *Bproj(3)* *Binit(3)* *Bchg(3)* *Bnext(3)* *Bupdate(3)*
0052 
0053 COPYING
0054 -------
0055 (C) Mavimax, Ltd