H5Aexists(
hid_t obj_id,
const char *attr_name
)
H5Aexists determines
whether the attribute attr_name exists
on the object specified by obj_id.
hid_t obj_id,
|
IN: Object identifier |
const char *attr_name
|
IN: Attribute name |
TRUE,
or 0 (zero), for FALSE.
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
| Release | C |
| 1.8.0 | Function introduced in this release. |