Next: nc_inq_compound_field, Previous: nc_inq_compound_size, Up: User Defined Data Types
Get the number of fields of a compound type.
nc_inq_compound_nfields(int ncid, nc_type xtype, size_t *nfieldsp);
ncidxtypenfieldspNC_NOERRNC_EBADTYPEIDNC_EHDFERRSee the example section for nc_inq_compound.