Changes

745 bytes added ,  11:16, 14 August 2016
Line 51: Line 51:  
|<code>void memmove(void *str1, const void *str2, size_t n)</code>  
 
|<code>void memmove(void *str1, const void *str2, size_t n)</code>  
 
|Like memcpy() but safer when dealing with overlapping blocks. See [http://www.tutorialspoint.com/c_standard_library/c_function_memmove.htm]
 
|Like memcpy() but safer when dealing with overlapping blocks. See [http://www.tutorialspoint.com/c_standard_library/c_function_memmove.htm]
 +
|-
 +
|MEMAllocFromDefaultHeapEx
 +
|<code>int MEMAllocFromDefaultHeapEx(int size, int alignment)</code>
 +
|Allocates memory on the heap with the given size and memory alignment. This is typically in the 0x4??????? memory area
 +
|-
 +
|MEMFreeToDefaultHeap
 +
|<code>void MEMFreeToDefaultHeap(int addr)</code>
 +
|Frees previously heap memory. addr is the address returned by MEMAllocFromDefaultHeapEx()
 +
|-
 +
|OSAllocFromSystem
 +
|<code>int OSAllocFromSystem(int size, int alignment)</code>
 +
|Allocates system memory with the given size and memory alignment. This is typically in the 0x10?????? memory area
 +
|-
 +
|OSFreeToSystem
 +
|<code>void OSFreeToSystem(int addr)</code>
 +
|Frees previously allocated system memory. addr is the address returned by OSAllocFromSystem()
 
|}
 
|}