Last modified: 9 October 2014
Name: H5Dopen2

Signature:
hid_t H5Dopen2( hid_t loc_id, const char *name, hid_t dapl_id )

Purpose:
Opens an existing dataset.

Description:
H5Dopen2 opens the existing dataset specified by a location identifier and name, loc_id and name, respectively.

The dataset access property list, dapl_id, provides information regarding access to the dataset.

To conserve and release resources, the dataset should be closed when access is no longer required.

Parameters:
hid_t loc_id IN: Location identifier
const char *name     IN: Dataset name
hid_t dapl_id IN: Dataset access property list

Returns:
Returns a dataset identifier if successful; otherwise returns a negative value.

Fortran90 Interface:
See listing under H5Dopen.

See Also:
“Using Identifiers”

History:
Release     C
1.8.0 Function introduced in this release.