Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5F_GET_ACCESS_PLIST

Returns a file access property list identifier

Procedure:

H5F_GET_ACCESS_PLIST(file_id)

Signature:

hid_t H5Fget_access_plist(hid_t file_id)

SUBROUTINE h5fget_access_plist_f(file_id, fcpl_id, hdferr)

  IMPLICIT NONE 
  INTEGER(HID_T), INTENT(IN)   :: file_id ! File identifier
  INTEGER(HID_T), INTENT(OUT)  :: fapl_id ! File access property list identifier
  INTEGER, INTENT(OUT)         :: hdferr  ! Error code 
                                          ! 0 on success and -1 on failure
END SUBROUTINE h5fget_access_plist_f

Parameters:
hid_t file_id    IN: File identifier

Description:

H5F_GET_ACCESS_PLIST returns the file access property list identifier of the specified file.

See “File Access Properties” in H5P: Property List Interface in this reference manual and “File Access Properties” in The HDF5 File chapter in the HDF5 User’s Guide for more information.

Returns:

Returns a file access property list identifier if successful; otherwise returns a negative value.

Example:

Example code is shown below. These excerpts are from the HDF5 source code tests:

C (see tfile.c):

   access_id = H5Fget_access_plist(fid1);

FORTRAN (see tH5F.F90):

     CALL h5fget_access_plist_f(fid_d, fid_d_fapl, error)

 

--- Last Modified: May 18, 2018 | 12:56 PM