0001 BVSIZEOF(3)
0002 ===========
0003 :doctype: manpage
0004
0005
0006 NAME
0007 ----
0008 Bvsizeof - Return VIEW C structure size in bytes for given platform
0009
0010
0011 SYNOPSIS
0012 --------
0013
0014 #include <ubf.h>
0015
0016 long Bvsizeof(char *'view');
0017
0018 Link with '-lubf -lnstd -lm -lpthread'
0019
0020 DESCRIPTION
0021 -----------
0022 Return size of the view specified 'view' field.
0023
0024 RETURN VALUE
0025 ------------
0026 On success, *Bvsizeof()* return buffer size; on error, -1 is returned,
0027 with *Berror* set to indicate the error.
0028
0029
0030 ERRORS
0031 ------
0032 Bstrerror(3) can give more description for error (for last call).
0033
0034 *BEINVAL* 'view' parameter is NULL or empty.
0035
0036 *BBADVIEW* View is not found in view files.
0037
0038 EXAMPLE
0039 -------
0040 See *atmitest/test040_typedview/vaccutil.c* for sample code.
0041
0042 BUGS
0043 ----
0044 Report bugs to support@mavimax.com
0045
0046 SEE ALSO
0047 --------
0048 *Binit(3)* *ex_env(5)*
0049
0050 COPYING
0051 -------
0052 (C) Mavimax, Ltd