User Tools

Site Tools


Sidebar

Table Of Contents

endurox:v7.5.x:api:ubf:bfname.3

bfname

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.

BBADFLD field not found in field tables.

EXAMPLE

See ubftest/ubfunit1.c for sample code.

BUGS

Report bugs to support@mavimax.com

SEE ALSO

Bfldid(3)

COPYING

© Mavimax, Ltd