Determines whether two dataspace extents are equal
Procedure:
H5S_EXTENT_EQUAL ( space1_id, space2_id )
Signature:
htri_t H5Sextent_equal(
hid_t space1_id,
hid_t space2_id
)
Fortran90 Interface: h5sextent_equal_f
SUBROUTINE h5sextent_equal_f(space1_id, space2_id, equal, hdferr)
IMPLICIT NONE
INTEGER(HID_T), INTENT(IN) :: space1_id ! First dataspace identifier
INTEGER(HID_T), INTENT(IN) :: space2_id ! Second dataspace identifier
LOGICAL, INTENT(OUT) :: Equal ! Positive if equal, zero if unequal
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success and -1 on failure
END SUBROUTINE h5sextent_equal_f
Parameters:
hid_t space1_id | IN: First dataspace identifier |
hid_t space2_id | IN: Second dataspace identifier |
Description:
H5S_EXTENT_EQUAL determines whether the dataspace extents of two dataspaces, space1_id
and space2_id
, are equal.
Returns:
Returns a positive value if the two dataspace extents are equal.
Returns 0 if the two dataspace extents are not equal.
Returns a negative value when the function fails.
Example:
History:
--- Last Modified: June 02, 2020 | 11:01 AM