User Tools

Site Tools


Sidebar

Table Of Contents

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

bfldid

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

No errors are returned by this function.

EXAMPLE

See ubftest/ubfunit1.c for sample code.

BUGS

Report bugs to support@mavimax.com

COPYING

© Mavimax, Ltd