Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5A_CLOSE

Closes the specified attribute

Procedure:

H5A_CLOSE ( attr_id )

Signature:

herr_t H5Aclose(hid_t attr_id)

Fortran90 Interface: h5aclose_f
  
  SUBROUTINE h5aclose_f(attr_id, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(OUT) :: attr_id  ! Attribute identifier 
  INTEGER, INTENT(OUT) :: hdferr          ! Error code:
                                          ! 0 on success and -1 on failure
END SUBROUTINE h5aclose_f	
	

Parameters:

hid_t attr_id IN: Attribute to release access to

Description:

H5A_CLOSE terminates access to the attribute specified by attr_id by releasing the identifier.

Further use of a released attribute identifier is illegal; a function using such an identifier will fail.

Returns:

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

Example:

examples / h5_crtatt.c [51:51]  1.10/master  HDFFV/hdf5
   status = H5Aclose(attribute_id);

  !
  CALL h5aclose_f(attr_id, error)

--- Last Modified: February 19, 2018 | 02:06 PM