H5Eprint2
(
hid_t estack_id
,
FILE * stream
)
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.
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. |
H5Eprint
.
Release | C |
1.8.0 | Function introduced in this release. |