Last modified: 10 December 2015
Name: H5Fis_hdf5

Signature:
htri_t H5Fis_hdf5(const char *name )

Purpose:
Determines whether a file is in the HDF5 format.

Description:
H5Fis_hdf5 determines whether a file is in the HDF5 format.

Parameters:
Returns:
Returns a positive value if the file name is an HDF5 file.
Returns 0 if the file name is not an HDF5 file.
Returns a negative value when the function fails. This includes the case where the file does not exist.

Fortran90 Interface: h5fis_hdf5_f
SUBROUTINE h5fis_hdf5_f(name, status, hdferr)   
  IMPLICIT NONE 
  CHARACTER(LEN=*), INTENT(IN) :: name   ! Name of the file
  LOGICAL, INTENT(OUT) :: status         ! This parameter indicates 
                                         ! whether file is an HDF5 file 
                                         ! ( TRUE or FALSE ) 
  INTEGER, INTENT(OUT) :: hdferr         ! Error code 
                                         ! 0 on success and -1 on failure
END SUBROUTINE h5fis_hdf5_f