H5Glink

fnherr_t H5Glink(hid_t loc_id, H5G_link_t type, const char * cur_name, const char * new_name)

Creates a link (deprecated).

Use H5Lcreate_hard or H5Lcreate_soft instead.

Parameters

loc_idLocation identifier
typeLink type (H5G_link_t)
cur_nameName of the existing object (for hard links) or link target (for soft links)
new_nameName of the new link

Returns

Non-negative on success, negative on failure.