Data Alignment
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Data Alignment

The following C run-time functions support data alignment.

Data-Alignment Routines

Routine Use
_aligned_free Frees a block of memory that was allocated with _aligned_malloc or _aligned_offset_malloc.
_aligned_malloc Allocates memory on a specified alignment boundary.
_aligned_offset_malloc Allocates memory on a specified alignment boundary.
_aligned_offset_realloc Changes the size of a memory block that was allocated with _aligned_malloc or _aligned_offset_malloc.
_aligned_realloc Changes the size of a memory block that was allocated with _aligned_malloc or _aligned_offset_malloc.

See Also

Run-Time Routines by Category | Run-Time Routines and .NET Framework Equivalents

Show:
© 2016 Microsoft