H5Fget_free_sections
fn
ssize_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_id | File identifier |
type | Type of free space to query (H5F_mem_t) |
nsects | Maximum number of sections to retrieve |
sect_info | Array to receive section information (can be NULL) |
Returns
Number of sections on success, negative on failure.