Next: nc_inq_compound_fieldoffset, Previous: nc_inq_compound_fieldname, Up: User Defined Data Types
Given the typeid and the name, get the fieldid.
int nc_inq_compound_fieldindex(nc_type typeid, char *name, int *fieldidp);
typeidnamefieldidpNC_NOERRNC_EBADTYPEIDNC_EUNKNAMENC_EHDFERRSee the example section for nc_inq_compound.