Sets user block size

Procedure:

H5P_SET_USERBLOCK ( plist, size )

Signature:

<pre><code class="language-c">herr_t H5Pset_userblock (hid_t plist, hsize_t size )</code></pre>

<pre><code class="language-fortran">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
	</code></pre>

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