Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5E_PRINT1

Prints the current error stack in a default manner

This function is deprecated in favor of the function H5E_PRINT2 or the macro H5E_PRINT.

Procedure:

H5E_PRINT1(stream)

Signature:

herr_t H5Eprint1(FILE * stream)

SUBROUTINE h5eprint_f(hdferr, name)
  CHARACTER(LEN=*), OPTIONAL, INTENT(IN) :: name ! File name 
  INTEGER, INTENT(OUT) :: hdferr                 ! Error code 

END SUBROUTINE h5eprint_f

Parameters:
FILE * stream    IN: File pointer, or stderr if NULL

Description:

H5E_PRINT1 prints the error stack for the current thread on the specified stream, stream. Even if the error stack is empty, a one-line message will be printed: 
     HDF5-DIAG: Error detected in thread 0. 

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

Returns:

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

Example:

Coming Soon!

History:
Release    Change
1.8.0Function H5Eprint renamed to H5Eprint1 and deprecated in this release.

--- Last Modified: January 08, 2020 | 02:15 PM