Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5P_SET_USERBLOCK

Sets user block size

Procedure:

H5P_SET_USERBLOCK ( plist, size )

Signature:

herr_t H5Pset_userblock (hid_t plist, hsize_t size )

Fortran90 Interface: h5pset_userblock_f
    
SUBROUTINE h5pset_userblock_f (prp_id, size, hdferr)
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: prp_id  ! Property list identifier
  INTEGER(HSIZE_T), INTENT(IN) :: size  ! Size of the user-block in bytes
  INTEGER, INTENT(OUT) :: hdferr        ! Error code
                                        ! 0 on success and -1 on failure
END SUBROUTINE h5pset_userblock_f
	

Parameters:
hid_t plistIN: Identifier of property list to modify
hsize_t size    IN: Size of the user-block in bytes

Description:

H5P_SET_USERBLOCK sets the user block size of a file creation property list. The default user block size is 0; it may be set to any power of 2 equal to 512 or greater (512, 1024, 2048, etc.).

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Coming Soon!

History:

None

--- Last Modified: May 01, 2019 | 03:14 PM