Replaces the current error stack

Procedure:

H5E_SET_CURRENT_STACK(estack_id)

Signature:

<pre><code class="language-c">herr_t H5Eset_current_stack(hid_t estack_id)</code></pre>

Parameters:
hid_t estack_id    IN: Error stack identifier

Description:

H5E_SET_CURRENT_STACK replaces the content of the current error stack with a copy of the content of the error stack specified by estack_id, and it closes the error stack specified by estack_id.

Returns:

Returns a non-negative value on success; otherwise returns a negative value.

Example:

Coming Soon!

History:
Release    C
1.8.0Function introduced in this release.