0001 BMKFLDID(3)
0002 ===========
0003 :doctype: manpage
0004
0005
0006 NAME
0007 ----
0008 Bmkfldid - Compile field id
0009
0010
0011 SYNOPSIS
0012 --------
0013
0014 #include <ubf.h>
0015
0016 BFLDID Bmkfldid (int 'fldtype', BFLDID 'bfldid');
0017
0018 Link with '-lubf -lnstd -lm -lpthread'
0019
0020 DESCRIPTION
0021 -----------
0022 Compile the field id by given type in 'fldtype' and field id (not compiled) in 'bfldid'. The compiled field id consists of type (moved to oldest 3 bits) and binary 'ored' field id.
0023
0024 RETURN VALUE
0025 ------------
0026 On success, *Bmkfldid()* return compiled filed id; on error, -1 is returned, with *Berror* set to indicate the error.
0027
0028 ERRORS
0029 ------
0030 No errors returned by this function.
0031
0032 EXAMPLE
0033 -------
0034 See *ubftest/ubfunit1.c* for sample code.
0035
0036 BUGS
0037 ----
0038 Report bugs to support@mavimax.com
0039
0040 SEE ALSO
0041 --------
0042 *Bfname(3)*
0043
0044 COPYING
0045 -------
0046 (C) Mavimax, Ltd
0047