H5Eget_auto1(
H5E_auto1_t * func,
void **client_data
)
H5Eget_auto2
or the macro
H5Eget_auto.
H5Eget_auto1 returns the current settings for the
automatic error stack traversal function, func,
and its data, client_data. Either or both
arguments may be null, in which case the value is not returned.H5Eprint1 and H5Eprint2. A call to
H5Eget_auto2 returns H5Eprint2 or the
user-defined function passed in through H5Eset_auto2.
A call to H5Eget_auto1 returns H5Eprint1
or the user-defined function passed in through
H5Eset_auto1. However, if the application passes in
a user-defined function through H5Eset_auto1, it
should call H5Eget_auto1 to query the traversal
function. If the application passes in a user-defined function
through H5Eset_auto2, it should call
H5Eget_auto2 to query the traversal function. H5Eset_auto1,
a call to H5Eget_auto2 will fail and will indicate
that the application has mixed H5Eset_auto1 and
H5Eget_auto2. On the other hand, mixing
H5Eset_auto2 and H5Eget_auto1 will
also cause a failure. But if the traversal functions are the
library’s default H5Eprint1 or H5Eprint2,
mixing H5Eset_auto1 and H5Eget_auto2
or mixing H5Eset_auto2 and H5Eget_auto1
does not fail.
H5E_auto1_t * func |
OUT: Current setting for the function to be called upon an error condition. |
void **client_data |
OUT: Current setting for the data passed to the error function. |
| Release | C |
| 1.8.0 |
Function H5Eget_auto renamed to
H5Eget_auto1 and deprecated
in this release. |