Export (0) Print
Expand All

Data Alignment 

The following C run-time functions support data alignment.

Data-Alignment Routines
Routine Use .NET Framework equivalent

_aligned_free

Frees a block of memory that was allocated with _aligned_mallocor _aligned_offset_malloc.

 Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

_aligned_malloc

Allocates memory on a specified alignment boundary.

 Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

_aligned_offset_malloc

Allocates memory on a specified alignment boundary.

 Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

_aligned_offset_realloc

Changes the size of a memory block that was allocated with _aligned_malloc or _aligned_offset_malloc.

 Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

_aligned_realloc

Changes the size of a memory block that was allocated with _aligned_malloc or _aligned_offset_malloc.

 Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

Community Additions

ADD
Show:
© 2014 Microsoft