Page tree

 

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 a positive value if the specified file can be opened.  Returns 0 if not. 
Returns a negative value when the function fails or if a file does not exist.

Example:

Include Bitbucket Server for Confluence: An error occured

Connection to Bitbucket Server could not be established. Verify that you have properly configured the Bitbucket Server application link for your Confluence space and that your Bitbucket Server instance is up and running. Error details: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Include Bitbucket Server for Confluence: An error occured

Connection to Bitbucket Server could not be established. Verify that you have properly configured the Bitbucket Server application link for your Confluence space and that your Bitbucket Server instance is up and running. Error details: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

History:
ReleaseChange
1.12.0Function introduced in this release

--- Last Modified: June 02, 2020 | 09:34 AM