H5Fget_free_sections

fnssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t * sect_info)

Retrieves free-space section information for a file.

Returns information about the free-space sections in a file. If sect_info is NULL, returns the count of free sections of the specified type.

Parameters

file_idFile identifier
typeType of free space to query (H5F_mem_t)
nsectsMaximum number of sections to retrieve
sect_infoArray to receive section information (can be NULL)

Returns

Number of sections on success, negative on failure.