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 *filename | IN: Name of file |
hid_t fapl_id | IN: File access property list |
Description:
H5F_IS_ACCESSIBLE checks if the file specified by filename
can be opened with the fapl fapl_id
.
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: File content cannot be shown
Unauthenticated access to this resource is not allowed. Please login to Confluence first.
Include Bitbucket Server for Confluence: File content cannot be shown
Unauthenticated access to this resource is not allowed. Please login to Confluence first.
History:
Release | Change |
---|
1.12.0 | Function introduced in this release |
--- Last Modified: June 02, 2020 | 09:34 AM