Back to home page

Enduro/X

 
 

    


0001 BTYPE(3)
0002 ========
0003 :doctype: manpage
0004 
0005 
0006 NAME
0007 ----
0008 Btype - return then type description of the compiled field id
0009 
0010 
0011 SYNOPSIS
0012 --------
0013 
0014 #include <ubf.h>
0015 
0016 char * Btype (BFLDID 'bfldid');
0017 
0018 Link with '-lubf -lnstd -lm -lpthread'
0019 
0020 DESCRIPTION
0021 -----------
0022 Return the type description of compiled field id. Possible values *short*, *long*, *char*, *float*, *double*, *string*, *carray*.
0023 
0024 RETURN VALUE
0025 ------------
0026 On success, *Btype()* returns the type description. On failure function returns *NULL*.
0027 
0028 ERRORS
0029 ------
0030 Note that *Bstrerror()* returns generic error message plus custom message with debug info from last function call.
0031 
0032 *BTYPERR* Invalid field - bad type extracted from oldest bits.
0033 
0034 EXAMPLE
0035 -------
0036 See *ubftest/ubfunit1.c* for sample code.
0037 
0038 BUGS
0039 ----
0040 Report bugs to support@mavimax.com
0041 
0042 SEE ALSO
0043 --------
0044 *Bfldtype(3)*
0045 
0046 COPYING
0047 -------
0048 (C) Mavimax, Ltd
0049