Name: H5Aexists
Signature:
htri_t H5Aexists( hid_t obj_id, const char *attr_name )

Purpose:
Determines whether an attribute with a given name exists on an object.

Description:
H5Aexists determines whether the attribute attr_name exists on the object specified by obj_id.

Parameters:
hid_t obj_id, IN: Object identifier
const char *attr_name     IN: Attribute name

Returns:
When successful, returns a positive value, for TRUE, or 0 (zero), for FALSE.
Otherwise returns a negative value.

Fortran90 Interface: h5aexists_f
SUBROUTINE h5aexists_f(obj_id, attr_name, attr_exists, hdferr)
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: obj_id      ! Object identifier
  CHARACTER(LEN=*), INTENT(IN) :: attr_name ! Attribute name
  LOGICAL, INTENT(OUT) :: attr_exists       ! .TRUE. if exists, .FALSE. otherwise
  INTEGER, INTENT(OUT) :: hdferr            ! Error code:
                                            ! 0 on success and -1 on failure 
END SUBROUTINE
    

History:
Release     C
1.8.0 Function introduced in this release.