IN: Identifier of the attribute datatype (in memory)
void *buf
OUT: Buffer for data to be read
Description:
H5A_READ reads an attribute, specified with attr_id. The attribute's memory datatype is specified with mem_type_id. The entire attribute is read into buf from the file.
Datatype conversion takes place at the time of a read or write and is automatic. See the “Data Transfer: Datatype Conversion and Selection” section in the “HDF5 Datatypes” chapter of the HDF5 User’s Guide for a discussion of data conversion.
Returns:
Returns a non-negative value if successful; otherwise returns a negative value.
Example:
History:
Release
Change
1.8.8
Fortran updated to Fortran2003.
1.4.2
The dims parameter was added to the Fortran API in this release.