DOKK / manpages / debian 12 / libmatio-doc / Mat_VarGetStructFieldnames.3.en
MAT_VARGETSTRUCTFIELDNAMES(3) Library Functions Manual MAT_VARGETSTRUCTFIELDNAMES(3)

Mat_VarGetStructFieldnamesGet the fieldnames of a structure variable.

#include <matio.h>

char * const *
Mat_VarGetStructFieldnames(const matvar_t *matvar);

The () function returns the fieldnames of the structure variable matvar.

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.

Mat_VarGetNumberOfFields(3)

January 19, 2012 Debian