BVSIZEOF(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

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

2. SYNOPSIS

#include <ubf.h>

long Bvsizeof(char *view);

Link with -lubf -lnstd -lm -lpthread

3. DESCRIPTION

Return size of the view specified view field.

4. RETURN VALUE

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

5. 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.

6. EXAMPLE

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

7. BUGS

Report bugs to support@mavimax.com

8. SEE ALSO

Binit(3) ex_env(5)

9. COPYING

© Mavimax, Ltd