next up previous contents index
Next: 28.3.9 memdebug_untraced_free: Return memory Up: 28.3 Additional Debugging Utilities Previous: 28.3.7 memdebug_store_backtrace: Stores call-stack

28.3.8 memdebug_untraced_alloc: Obtain memory from the client OS

 

SYNOPSIS

#include <oskit/memdebug.h>

void * memdebug_untraced_alloc(oskit_u32_t size, oskit_u32_t align_bits, oskit_u32_t align_ofs);

DESCRIPTION

Obtains memory of the given size and alignment constraints from the client OS. Used by the memdebug library to get the ``raw'' memory that it tracks.

PARAMETERS

size
The size (in bytes) of the chunk to allocate.
align_bits
The number of low bits of the returned memory chunk address that must match the corresponding bits in align_ofs.
align_ofs
The required offset from natural power-of-two alignment. If align_ofs is zero, then the returned memory block will be naturally aligned on a tex2html_wrap_inline37955 boundary.



Utah Flux Research Group