Opens a committed (named) datatype

Procedure:

H5T_OPEN2 (loc_id, name, tapl_id)

Signature:

<pre><code class="language-c">hid_t H5Topen2( hid_t loc_id, const char * name, hid_t tapl_id )</code></pre>

Parameters:
hid_t loc_idIN: A file or group identifier
const char * name    IN: A datatype name, defined within the file or group identified by loc_id
hid_t tapl_idIN: Datatype access property list identifier

Description:

 H5T_OPEN2 opens a committed datatype at the location specified by loc_id and returns an identifier for the datatype. loc_id is either a file or group identifier. The identifier should eventually be closed by calling H5T_CLOSE  to release resources.

The committed datatype is opened with the datatype access property list tapl_id.

Returns:

Returns a committed datatype identifier if successful; otherwise returns a negative value.

Example:

Coming Soon!

History:
Release    Change
1.8.0Function introduced in this release.