otherwise returns a negative value.
H5dont_atexit
fn
herr_t H5dont_atexit()Instructs library not to install atexit() cleanup routine.
H5dont_atexit indicates to the library that an atexit() cleanup routine should not be installed. The major purpose for using this function is in situations where the library is dynamically linked into an application and is un-linked from the application before exit() gets called. In those situations, a routine installed with atexit() would jump to a routine that was no longer in memory, causing errors.
In order to be effective, this routine must be called before any other HDF5 function calls, and must be called each time the library is loaded/linked into the application.
Returns
Returns a non-negative value if successful;