Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

H5S_CLOSE

Releases and terminates access to a dataspace

Procedure:

H5S_CLOSE ( space_id )

Signature:

herr_t H5Sclose(
                   hid_t space_id
    )

Fortran90 Interface: h5sclose_f
    
SUBROUTINE h5sclose_f(space_id, hdferr)     
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id  ! Dataspace identifier
  INTEGER, INTENT(OUT) :: hdferr          ! Error code
                                          ! 0 on success and -1 on failure
END SUBROUTINE h5sclose_f

Parameters:

hid_t space_id     IN: Identifier of dataspace to release

Description:

H5S_CLOSE releases a dataspace. Further access through the dataspace identifier is illegal. Failure to release a dataspace with this call will result in resource leaks.

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

History:

None

--- Last Modified: October 23, 2020 | 02:49 PM