Clears the error stack for the current thread

Procedure:

H5E_CLEAR1(void)

Signature:

<pre><code class="language-c">herr_t H5Eclear1(void)</code></pre>

<pre><code class="language-fortran">SUBROUTINE h5eclear_f(hdferr) 
  IMPLICIT NONE 
  INTEGER, INTENT(OUT) :: hdferr  ! Error code 

END SUBROUTINE h5eclear_f</code></pre>

Parameters:

None.

Description:

H5E_CLEAR1 clears the error stack for the current thread.

The stack is also cleared whenever an API function is called, with certain exceptions (for instance, H5E_PRINT1).

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Fortran example coming soon.

History:
Release    C
1.8.0Function H5Eclear renamed to H5Eclear1 and deprecated in this release.