Name
Bfname — get the field name by giving compiled field id
Synopsis
#include <ubf.h>
char * Bfname (BFLDID bfldid);
Link with -lubf -lnstd -lm -lpthread
DESCRIPTION
Return the field name loaded for given compiled field id bfldid. Field id is compiled by mkfldhdr(8).
RETURN VALUE
On success, Bfname() returns field name in thread local storage stored char array.
If field is unknown to the system, function returns NULL and the error is set.
ERRORS
In case of error Berror will be non 0. Note that Bstrerror() returns
generic error message plus custom message with debug info from last function call.
BFTOPEN Failed to open field definition files.
BBADFLD field not found in field tables.