H5Acreate1

fnhid_t H5Acreate1(hid_t loc_id, const char * name, hid_t type_id, hid_t space_id, hid_t acpl_id)

Creates an attribute (version 1, deprecated).

Parameters

loc_idLocation identifier
nameAttribute name
type_idDatatype identifier
space_idDataspace identifier
acpl_idAttribute creation property list identifier

Returns

Attribute identifier on success, H5I_INVALID_HID on failure.