Rate This Document
Findability
Accuracy
Completeness
Readability

Determining Whether a Link Exists

Function Syntax

Determine whether a link with a specified name exists in a group.

htri_t H5Lexists(hid_t locId, const char * name, hid_t lapl_id)

Parameters

Parameter

Description

Value Range

Input/Output

locId

Location identifier, which may be that of a file, group, dataset, named data type, or attribute

Integer

Input

*name

Character string padding type

Non-empty

Input

lapl_id

Link access property list identifier

Integer

Input

Return Value

  • Success: non-negative value
  • Failure: negative value