<pre><code class="language-fortran"><pre><code class="language-fortran">SUBROUTINE h5lget_info_f(link_loc_id, link_name, &
cset, corder, f_corder_valid, link_type, address, val_size, &
hdferr, lapl_id)
IMPLICIT NONE
INTEGER(HID_T), INTENT(IN) :: link_loc_id
! File or group identifier.
CHARACTER(LEN=*), INTENT(IN) :: link_name
! Name of the link for which information is being sought.
INTEGER, INTENT(OUT) :: cset
! Indicates the character set used for the link’s name.
INTEGER, INTENT(OUT) :: corder
! Specifies the link’s creation order position.
LOGICAL, INTENT(OUT) :: f_corder_valid
! Indicates whether the value in corder is valid.
INTEGER, INTENT(OUT) :: link_type
! Specifies the link class:
! H5L_TYPE_HARD_F - Hard link
! H5L_TYPE_SOFT_F - Soft link
! H5L_TYPE_EXTERNAL_F - External link
! H5L_TYPE_ERROR_F - Error
INTEGER(HADDR_T), INTENT(OUT) :: address
! If the link is a hard link, address specifies the file
! address that the link points to
INTEGER(SIZE_T), INTENT(OUT) :: val_size
! If the link is a symbolic link, val_size will be the
! length of the link value, i.e. the length of the name
! of the pointed-to object with a null terminator.
INTEGER, INTENT(OUT) :: hdferr
! Error code:
! 0 on success and -1 on failure
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: lapl_id
! Link access property list
END SUBROUTINE h5lget_info_f</code></pre></code></pre> |