Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5_DONT_ATEXIT

Instructs library not to install atexit cleanup routine

Procedure:

H5_DONT_ATEXIT(void)

Signature:

herr_t H5dont_atexit
(
    void
)

SUBROUTINE h5dont_atexit_f(error)
    INTEGER, INTENT(OUT) :: error

Parameters:

None.

Description:

H5_DONT_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 which 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 (the first time and after it's been un-loaded).

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Example coming soon!

History:
Release    Change
1.4.5Fortran subroutine introduced in this release.
1.8.8Fortran subroutine updated in this release.

--- Last Modified: June 02, 2020 | 10:14 AM