Name
Bfldid — Get UBF field id from field name
Synopsis
#include <ubf.h>
BFLDID Bfldid (char *fldnm);
Link with -lubf -lnstd -lm -lpthread
DESCRIPTION
Get field id by field name passed in fldnm parameter. Note that field
must be defined in field tables (fd files) (see ex_env(5),
variables FIELDTBLS, FLDTBLDIR).
RETURN VALUE
On success, Bfldid() returns compiled file id; on error,
BBADFLDID is returned.
ERRORS
Note that Bstrerror() returns generic error message plus custom message with
debug info from last function call.
BFTOPEN Failed to open field definition files.
BBADNAME Field not found.