Mat_VarGetNumberOfFields - Man Page

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)

Referenced By

Mat_VarGetStructFieldnames(3).

March 18, 2012