Name: H5Eclear2
Last modified: 24 May 2009
Signature:
  herr_t `H5Eclear2`(hid_t `estack_id`)
Purpose:
  Clears the specified error stack or the error stack for the current thread.
Description:
  `H5Eclear2` clears the error stack specified by `estack_id`, or, if `estack_id` is set to `H5E_DEFAULT`, the error stack for the current thread.

  `estack_id` is an error stack identifier, such as that returned by `H5Eget_current_stack`.

  The current error stack is also cleared whenever an API function is called, with certain exceptions (for instance, `H5Eprint1` or `H5Eprint2`).

Parameters:

hid_t `estack_id` | IN: Error stack identifier.

Returns:
  Returns a non-negative value if successful; otherwise returns a negative value.
Fortran90 Interface:
  See `H5Eclear`.

History:

  Release | C
  1.8.0 | Function introduced in this release.