Page tree

The license could not be verified: License Certificate has expired!

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

 

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:

H5Eprint1 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. 

H5Eprint1 is a convenience function for H5Ewalk1 with a function that prints error messages. Users are encouraged to writetheir own more specific error handlers.

Returns:

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

Example:

Coming Soon!

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

--- Last Modified: January 02, 2018 | 10:17 AM