Back to home page

Enduro/X

 
 

    


0001 BVSINIT(3)
0002 ==========
0003 :doctype: manpage
0004 
0005 
0006 NAME
0007 ----
0008 Bvsinit - Initialize all view fields to NULL value.
0009 
0010 
0011 SYNOPSIS
0012 --------
0013 
0014 #include <ubf.h>
0015 
0016 int Bvsinit(char *'cstruct', char *'view');
0017 
0018 Link with '-lubf -lnstd -lm -lpthread'
0019 
0020 DESCRIPTION
0021 -----------
0022 Initialize all view members to 'NULL' value specified in view file. The pointer
0023 to C structure is specified in 'cstruct' parameter. The view name is specified 'view'.
0024 Function initialize all members including all array elements to corresponding
0025 NULL values in *viewfile(5)*.
0026 
0027 RETURN VALUE
0028 ------------
0029 On success, *Bvsinit()* return zero; on error, -1 is returned, with *Berror* set to 
0030 indicate the error.
0031 
0032 ERRORS
0033 ------
0034 Note that *Bstrerror()* returns generic error message plus custom message with 
0035 debug info from last function call.
0036 
0037 *BEINVAL* 'cstruct' or 'view' parameters are NULL.
0038 
0039 *BBADVIEW* View is not found, object file is defective or system error.
0040 
0041 *BVFSYNTAX* Defective object file, cannot load.
0042 
0043 EXAMPLE
0044 -------
0045 See *atmitest/test040_typedview/viewunit1.c* for sample code.
0046 
0047 BUGS
0048 ----
0049 Report bugs to support@mavimax.com
0050 
0051 SEE ALSO
0052 --------
0053 *viewc(8)* *Bvstof(3)* *Bvftos(3)* *Bvselinit(3)* *Bvnull(3)* *Bvopt(3)* *viewfile(5)*
0054 
0055 COPYING
0056 -------
0057 (C) Mavimax, Ltd
0058