0001 BFLDDBNAME(3)
0002 =============
0003 :doctype: manpage
0004
0005
0006 NAME
0007 ----
0008 Bflddbname - Get field name from field id (compiled)
0009
0010
0011 SYNOPSIS
0012 --------
0013
0014 #include <ubf.h>
0015
0016 char * Bflddbname (BFLDID 'bfldid');
0017
0018 Link with '-lubf -lnstd -lm -lpthread'
0019
0020 DESCRIPTION
0021 -----------
0022 Resolve field name from field id (compiled) specified in 'bfldid' parameter.
0023 Function returns field name, which is stored in single slot of Thread Local Storage
0024 (TLS).
0025
0026 Function is thread safe.
0027
0028 RETURN VALUE
0029 ------------
0030 On success, *Bflddbname()* returns ptr to field name; on error, *NULL* is returned.
0031
0032 ERRORS
0033 ------
0034 Note that *Bstrerror()* returns generic error message plus custom message with
0035 debug info from last function call.
0036
0037 *BEINVAL* corrupted data stored in LMDB.
0038
0039 *BEUNIX* LMDB Error.
0040
0041 *BBADNAME* name not found or no database defined.
0042
0043 *BMALLOC* failed to allocate database structures.
0044
0045 *BNOSPACE* lmdb max readers reached or other limit, see logs for details.
0046
0047 EXAMPLE
0048 -------
0049 See *atmitest/test050_ubfdb/atmiclt50.c* for sample code.
0050
0051 BUGS
0052 ----
0053 Report bugs to support@mavimax.com
0054
0055 SEE ALSO
0056 --------
0057 *Bflddbid(3)* *Bflddbget(3)* *Bflddbload(3)* *Bflddbunload(3)*
0058 *Bflddbdrop(3)* *Bflddbdel(3)* *Bflddbadd(3)* *Bflddbunlink(3)* *ubfdb.ini(5)*
0059
0060 COPYING
0061 -------
0062 (C) Mavimax, Ltd
0063
0064