Header: kernel.H
Syntax:
extern _kernel_ExtendProc *_kernel_register_slotextend
(
_kernel_ExtendProc *proc
);
Purpose: When the initial heap is full, the kernel is normally capable of extending it. However, if the heap limit is not the same as the OS limit, it is assumed that someone else has acquired the space between, and the procedure registered here is called to request n bytes from it. Its return value is expected to be >= n or = 0 (failure); if success, *p is set to point to the space returned.
|
|
|