Last modified: 24 May 2009
Name: H5Eprint2
Signature:
  herr_t `H5Eprint2`( hid_t `estack_id`, FILE * `stream`)
Purpose:
  Prints the specified error stack in a default manner.
Description:
  `H5Eprint2` prints the error stack specified by `estack_id` on the specified stream, `stream`. Even if the error stack is empty, a one-line message of the following form will be printed:
  `HDF5-DIAG: Error detected in HDF5 library version: 1.5.62 thread 0.`

  A similar line will appear before the error messages of each error class stating the library name, library version number, and thread identifier.

  If `estack_id` is `H5E_DEFAULT`, the current error stack will be printed.

  `H5Eprint2` is a convenience function for `H5Ewalk2` with a function that prints error messages. Users are encouraged to write their own more specific error handlers.

Parameters:

hid_t `estack_id` | IN: Identifier of the error stack to be printed. If the identifier is `H5E_DEFAULT`, the current error stack will be printed.
FILE * `stream` | IN: File pointer, or stderr if NULL.

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

  Release | C
  1.8.0 | Function introduced in this release.