SysTutorials

Linux Manual Pages › Section 3

mat_vargetstructfieldnames(3)

Mat_VarGetStructFieldnames – Get the fieldnames of a structure variable.

Synopsis

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

Description

The Fn Mat_VarGetStructFieldnames function returns the fieldnames of the structure variable Fa matvar.

Return Values

An array of fieldnames is returned of the variable is a valid structure variable. Otherwise NULL is returned. The Mat_VarGetNumberOfFields function returns the number of fields for the structure.

See Also

Mat_VarGetNumberOfFields3,