|
|
uwx_register_alloc_cb(3X) uwx_register_alloc_cb(3X) NAME
uwx_register_alloc_cb() - register custom allocate and free callbacks SYNOPSIS
DESCRIPTION
is part of the Unwind Express Library for Integrity systems; see uwx(3X). registers custom allocate and free callbacks for use by the Unwind Express Library. By default, the Unwind Express Library uses and (see malloc(3C)) to allocate and deallocate memory dynamically as needed. Custom callback routines having the same function prototypes may be registered at any time, and take effect for subsequent unwind environments created by calls to Unwind environments already created but not yet freed will not be affected by this call, so a call to will use the free routine that was in effect when that unwind environment was created. Parameters alloc A pointer to a custom callback routine for dynamic memory allocation. This function must have the same prototype as the standard function. free A pointer to a custom callback routine for dynamic memory deallocation. This function must have the same prototype as the standard function. RETURN VALUE
returns on success. See uwx(3X) for error codes. AUTHOR
The Unwind Express Library was developed by Hewlett-Packard. SEE ALSO
malloc(3C), uwx(3X), uwx_add_to_bsp(3X), uwx_find_source_info(3X), uwx_find_symbol(3X), uwx_free(3X), uwx_get_abi_context_code(3X), uwx_get_funcstart(3X), uwx_get_module_info(3X), uwx_get_nat(3X), uwx_get_reg(3X), uwx_get_source_info(3X), uwx_get_sym_info(3X), uwx_init(3X), uwx_init_context(3X), uwx_register_callbacks(3X), uwx_release_symbol_cache(3X), uwx_self_do_context_frame(3X), uwx_self_free_info(3X), uwx_self_init_context(3X), uwx_self_init_info(3X), uwx_set_nofr(3X), uwx_set_remote(3X), uwx_step(3X), uwx_step_inline(3X). Integrity Systems Only uwx_register_alloc_cb(3X)