Fortran90 Interface: h5pget_userblock_f
SUBROUTINE h5pget_userblock_f(prp_id, block_size, hdferr)
INTEGER(HID_T), INTENT(IN) :: prp_id ! Property list identifier
INTEGER(HSIZE_T), DIMENSION(:), INTENT(OUT) :: block_size
! Size of the user-block in bytes
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success and -1 on failure
END SUBROUTINE h5pget_userblock_f
IN: Identifier for property list to query.
OUT: Pointer to location to return user-block size.
H5P_GET_USERBLOCK retrieves the size of a user block in a file creation property list. A user can then read size bytes from the beginning of the HDF5 file from an application that does not use HDF5. For example, for an HDF5 file ublock.h5 with a user block of characters of size 512, the user block can be retrieved with the following simplified code segment: