H5A_CREATE_BY_NAME creates an attribute,
attr_name, which is attached to the object specified by
loc_id is a location identifier;
obj_name is the object name relative to
loc_id fully specifies the object to which the attribute is to be attached,
obj_name should be
'.' (a dot).
The attribute name,
attr_name, must be unique for the object.
The attribute is created with the specified datatype and dataspace,
space_id, which are created with the H5T and H5S interfaces respectively.
The attribute creation and access property lists are currently unused, but will be used in the future for optional attribute creation and access properties. These property lists should currently be
The link access property list,
lapl_id, may provide information regarding the properties of links required to access the object,
obj_name. See “Link Access Properties” in the H5P APIs.
The attribute identifier returned by this function must be released with
H5A_CLOSE or resource leaks will develop.