User Tools

Site Tools


Sidebar

Table Of Contents

endurox:v8.0.x:api:ubf:bvsizeof.3

bvsizeof

Name

Bvsizeof — Return VIEW C structure size in bytes for given platform

Synopsis

#include <ubf.h>

long Bvsizeof(char *view);

Link with -lubf -lnstd -lm -lpthread

DESCRIPTION

Return size of the view specified view field.

RETURN VALUE

On success, Bvsizeof() return buffer size; on error, -1 is returned, with Berror set to indicate the error.

ERRORS

Bstrerror(3) can give more description for error (for last call).

BEINVAL view parameter is NULL or empty.

BBADVIEW View is not found in view files.

EXAMPLE

See atmitest/test040_typedview/vaccutil.c for sample code.

BUGS

Report bugs to support@mavimax.com

COPYING

© Mavimax, Ltd