Mat_VarGetNumberOfFields(3)
The function returns the number of fields for the structure variable The number of fields will be returned on success, a
Description
MAT_VARGETNUMBEROFFIELDS(3) Library Functions ManualMAT_VARGETNUMBEROFFIELDS(3)
NAME
Mat_VarGetNumberOfFields — Gets the number of fields for a structure variable.
SYNOPSIS
#include <matio.h>
unsigned
Mat_VarGetNumberOfFields(matvar_t *matvar);
DESCRIPTION
The Mat_VarGetNumberOfFields() function returns the number of fields for the structure variable matvar.
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) GNU March 18, 2012 MAT_VARGETNUMBEROFFIELDS(3)