H5Pset_alignment

fnherr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)

Sets the alignment properties for a file access property list.

Any file object >= threshold bytes will be aligned on an address that is a multiple of alignment.

Parameters

fapl_idFile access property list identifier
thresholdThreshold for alignment
alignmentAlignment value

Returns

Non-negative on success, negative on failure.