Back to home page

Enduro/X

 
 

    


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