Jump to ...
Switch language ...
Closes the specified group
herr_t H5Gclose(hid_t group_id)
SUBROUTINE h5gclose_f( gr_id, hdferr)
INTEGER(HID_T), INTENT(IN) :: gr_id ! Group identifier
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success and -1 on failure
END SUBROUTINE h5gclose_f
H5G_CLOSE releases resources used by a group which was opened by H5G_CREATE* or H5G_OPEN*. After closing a group, the group_id cannot be used again.
Failure to release a group with this call will result in resource leaks.
Returns a non-negative value if successful; otherwise returns a negative value.
/* Close the group. */
status = H5Gclose(group_id);
! Close the group.
CALL h5gclose_f(group_id, error)
--- Last Modified: May 17, 2018 | 03:05 PM
Copyright © 2006-2018All rights reserved
HDF is a registered trademark of The HDF Group.
Powered by a free Atlassian Confluence Open Source Project License granted to HDF. Evaluate Confluence today.