BMKFLDID(3)


Table of Contents

1. NAME
2. SYNOPSIS
3. DESCRIPTION
4. RETURN VALUE
5. ERRORS
6. EXAMPLE
7. BUGS
8. SEE ALSO
9. COPYING

1. NAME

Bmkfldid - Compile field id

2. SYNOPSIS

#include <ubf.h>

BFLDID Bmkfldid (int fldtype, BFLDID bfldid);

Link with -lubf -lnstd -lm -lpthread

3. DESCRIPTION

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.

4. RETURN VALUE

On success, Bmkfldid() return compiled filed id; on error, -1 is returned, with Berror set to indicate the error.

5. ERRORS

No errors returned by this function.

6. EXAMPLE

See ubftest/ubfunit1.c for sample code.

7. BUGS

Report bugs to support@mavimax.com

8. SEE ALSO

Bfname(3)

9. COPYING

© Mavimax, Ltd