Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5E_GET_MINOR

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

This function has been deprecated.

 

Procedure:

H5E_GET_MINOR(n)

Signature:

char * H5Eget_minor(H5E_minor_t n)

SUBROUTINE h5eget_minor_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_minor_f

Parameters:
H5E_minor_t n    IN: Minor error number

Description:

Given a minor error number, H5E_GET_MINOR returns a constant character string that describes the error.

In the Release 1.8.x series,H5E_GET_MINOR returns a string of dynamic allocated char array. An application calling this function from an HDF5 library of Release 1.8.0 or later must free the memory associated with the return value to prevent a memory leak. This is a change from the 1.6.x release series.

Returns:

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

Example:

Coming Soon!

History:
Release    Change
1.8.0Function deprecated and return type changed in this release.

--- Last Modified: April 13, 2018 | 01:43 PM