Name: H5Arename
Signature:
  herr_t `H5Arename`( hid_t `loc_id`, char *`old_attr_name`, char *`new_attr_name` )

Purpose:
  Renames an attribute.

Description:
  `H5Arename` changes the name of the attribute located at `loc_id`.

  The old name, `old_attr_name`, is changed to the new name, `new_attr_name`.

Parameters:

hid_t `loc_id` | IN: Location of the attribute.
char *`old_attr_name` | IN: Name of the attribute to be changed.
char *`new_attr_name` | IN: New name for the attribute.

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

Fortran90 Interface: h5arename_f

      SUBROUTINE h5arename_f(loc_id, old_attr_name, new_attr_name, hdferr)
          IMPLICIT NONE
          INTEGER(HID_T), INTENT(IN) :: loc_id          ! Object identifier
          CHARACTER(LEN=*), INTENT(IN) :: old_attr_name ! Prior attribute name
          CHARACTER(LEN=*), INTENT(IN) :: new_attr_name ! New attribute name
          INTEGER, INTENT(OUT) :: hdferr                ! Error code:
                                                        !  0 on success, -1 on failure
      END SUBROUTINE h5arename_f