H5LTfind_attribute

fnherr_t H5LTfind_attribute(hid_t loc_id, const char * name)

Determines whether an attribute exists.

Checks if an attribute with the given name exists attached to the specified object.

Parameters

loc_idLocation identifier (file, group, dataset, or named datatype)
nameName of the attribute to find

Returns

1 if attribute exists, 0 if not, negative on error.