H5LTpath_valid

fnhtri_t H5LTpath_valid(hid_t loc_id, const char * path, hbool_t check_object_valid)

Checks if a path is valid.

Determines whether a path exists relative to a given location and optionally whether the final component is a valid object.

Parameters

loc_idLocation identifier
pathPath to check (relative to loc_id)
check_object_validIf true, also verify that the object at the end of the path is valid

Returns

Positive if path is valid, zero if not valid, negative on error.