Back to home page

Enduro/X

 
 

    


0001 BFLDID(3)
0002 =========
0003 :doctype: manpage
0004 
0005 
0006 NAME
0007 ----
0008 Bfldid - Get UBF field id from field name
0009 
0010 
0011 SYNOPSIS
0012 --------
0013 
0014 #include <ubf.h>
0015 
0016 BFLDID Bfldid (char *'fldnm');
0017 
0018 Link with '-lubf -lnstd -lm -lpthread'
0019 
0020 DESCRIPTION
0021 -----------
0022 Get field id by field name passed in 'fldnm' parameter. Note that field
0023 must be defined in field tables (*fd* files) (see ex_env(5),
0024 variables *FIELDTBLS*, *FLDTBLDIR*). 
0025 
0026 RETURN VALUE
0027 ------------
0028 On success, *Bfldid()* returns compiled file id; on error,
0029 *BBADFLDID* is returned.
0030 
0031 ERRORS
0032 ------
0033 Note that *Bstrerror()* returns generic error message plus custom message with 
0034 debug info from last function call.
0035 
0036 *BFTOPEN* Failed to open field definition files.
0037 
0038 *BBADNAME* Field not found.
0039 
0040 EXAMPLE
0041 -------
0042 See *ubftest/ubfunit1.c* for sample code.
0043 
0044 BUGS
0045 ----
0046 Report bugs to support@mavimax.com
0047 
0048 SEE ALSO
0049 --------
0050 *Bfname(3)* *Bflddbid(3)*
0051 
0052 COPYING
0053 -------
0054 (C) Mavimax, Ltd
0055