Page tree

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

 

JAVA

FORTRAN

C++

C

 

Link

H5F_IS_ACCESSIBLE

Checks if a file can be opened with a given fapl

Procedure:

H5F_IS_ACCESSIBLE ( filename, fapl_id )

Signature:

htri_t H5Fis_accessible ( const char *filename, hid_t fapl_id )

  SUBROUTINE h5fis_accessible_f(name, status, hdferr, access_prp)
    IMPLICIT NONE
    CHARACTER(LEN=*), INTENT(IN) :: name   ! Name of the file
    LOGICAL, INTENT(OUT) :: status         ! Indicates if file
                                           ! is an HDF5 file
    INTEGER, INTENT(OUT) :: hdferr         ! Error code
    INTEGER(HID_T), OPTIONAL, INTENT(IN) :: access_prp
                                           ! File access property list
                                           ! identifier
  END SUBROUTINE h5fis_accessible_f

Parameters:
const char *filenameIN: Name of file
hid_t fapl_idIN: File access property list

Description:

H5F_IS_ACCESSIBLE checks if the file specified by filename can be opened with the fapl fapl_id.

Motivation

The H5F_IS_ACCESSIBLE function enables files to be checked with a given file access property list, unlike H5F_IS_HDF5, which only uses the default file driver when opening a file.

 

Returns:

Returns TRUE OR FALSE if successful, and FAIL on failure. If a file does not exist FAIL will be returned.

Example:

Coming Soon!

History:
ReleaseChange
1.12.0Function introduced in this release

--- Last Modified: August 29, 2019 | 03:35 PM