Page tree

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

 

JAVA

FORTRAN

C++

C

 

Link

H5E_GET_MAJOR

Returns a character string describing an error specified by a major error number

This function has been deprecated in favor of H5E_GET_MSG.

Procedure:

H5E_GET_MAJOR(n)

Signature:

const char * H5Eget_major(H5E_major_t n)

SUBROUTINE h5eget_major_f(error_no, name, hdferr)
  INTEGER, INTENT(IN) :: error_no         !Major error number
  CHARACTER(LEN=*), INTENT(OUT) :: name   ! File name
  INTEGER, INTENT(OUT) :: hdferr          ! Error code

END SUBROUTINE h5eget_major_f

Parameters:
H5E_major_t n    IN: Major error number

Description:

Given a major error number, H5E_GET_MAJOR returns a constant character string that describes the error. 

This function returns a dynamically allocated string (char array). An application calling this function must free the memory associated with the return value to prevent a memory leak.

Returns:

Returns a character string describing the error if successful. Otherwise returns "Invalid major error number."

History:
Release    Change
1.8.0Function deprecated in this release.

--- Last Modified: June 02, 2020 | 12:45 PM