Mat_VarGetNumberOfFields — Gets the number of fields for a structure variable.
Contents
Description
The Mat_VarGetNumberOfFields() function returns the number of fields for the structure variable matvar.Name
Mat_VarGetNumberOfFields — Gets the number of fields for a structure variable.
Return Values
The number of fields will be returned on success, and 0 otherwise. Note also that a structure can
validly contain 0 fields.
See Also
Mat_VarGetStructFieldnames(3) Debian November 20, 2023 MAT_VARGETNUMBEROFFIELDS(3)
Synopsis
#include<matio.h>unsignedMat_VarGetNumberOfFields(constmatvar_t*matvar);
