Page tree

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

 

JAVA

FORTRAN

C++

C

 

Link

H5P_GET_VOL_ID

 Returns the identifier of the current VOL connector

Procedure:

H5P_GET_VOL_ID ( plist_id, vol_id )

Signature:

herr_t H5Pget_vol_id ( hid_t plist_id, hid_t *vol_id )

 SUBROUTINE h5pget_vol_id_f(plist_id, vol_id, hdferr)
    IMPLICIT NONE
    INTEGER(HID_T) , INTENT(IN)   :: plist_id
    INTEGER(HID_T) , INTENT(OUT)  :: vol_id
    INTEGER        , INTENT(OUT)  :: hdferr
 END SUBROUTINE h5pget_vol_id_f

Parameters:
hid_t plist_idIN: File access property list
hid_t *vol_idOUT: Current VOL connector identifier

Description:

H5P_GET_VOL_ID returns the VOL connector identifier vol_id for the file access property list  plist_id. This identifier should be closed with H5VL_CLOSE.

Returns:

Returns a non-negative value on success and a negative value on failure.

Example:

test / ttsafe_error.c [116:120]  1.12/master  HDFFV/hdf5
    def_fapl = H5Pcreate(H5P_FILE_ACCESS);
    CHECK(def_fapl, H5I_INVALID_HID, "H5Pcreate");

    status = H5Pget_vol_id(def_fapl, &vol_id);
    CHECK(status, FAIL, "H5Pget_vol_id");

       CALL H5Pget_vol_id_f(fapl_id, vol_id_out, error)

History:
ReleaseChange
1.12.0Function introduced in this release

--- Last Modified: March 17, 2020 | 02:41 PM