Back to home page

Enduro/X

 
 

    


0001 BFNAME(3)
0002 =========
0003 :doctype: manpage
0004 
0005 
0006 NAME
0007 ----
0008 Bfname - get the field name by giving compiled field id
0009 
0010 
0011 SYNOPSIS
0012 --------
0013 
0014 #include <ubf.h>
0015 
0016 char * Bfname (BFLDID 'bfldid');
0017 
0018 Link with '-lubf -lnstd -lm -lpthread'
0019 
0020 DESCRIPTION
0021 -----------
0022 Return the field name loaded for given compiled field id 'bfldid'. Field id is compiled by *mkfldhdr(8)*.
0023 
0024 RETURN VALUE
0025 ------------
0026 On success, *Bfname()* returns field name in thread local storage stored char array.
0027 If field is unknown to the system, function returns NULL and the error is set.
0028 
0029 ERRORS
0030 ------
0031 In case of error *Berror* will be non *0*. Note that *Bstrerror()* returns 
0032 generic error message plus custom message with  debug info from last function call.
0033 
0034 *BFTOPEN* Failed to open field definition files.
0035 
0036 *BBADFLD* field not found in field tables.
0037 
0038 EXAMPLE
0039 -------
0040 See *ubftest/ubfunit1.c* for sample code.
0041 
0042 BUGS
0043 ----
0044 Report bugs to support@mavimax.com
0045 
0046 SEE ALSO
0047 --------
0048 *Bfldid(3)*
0049 
0050 COPYING
0051 -------
0052 (C) Mavimax, Ltd
0053