Mat_VarGetNumberOfFields (3) - Linux Manuals

Mat_VarGetNumberOfFields: Get the number of fields for a structure variable.

NAME

Mat_VarGetNumberOfFields - Get the number of fields for a structure variable.

SYNOPSIS

Fd #include <matio.h> Ft unsigned Fo Mat_VarGetNumberOfFields Fa const matvar_t *matvar Fc

DESCRIPTION

The Fn Mat_VarGetNumberOfFields function returns the number of fields for the structure variable Fa 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_VarGetStructFieldnames3