<< Previous | Next >> | |
|
INT8U OSMemPut( OS_MEM * pmem, void * pblk );
Description
- Returns a memory block to a partition.
Parameters
- pmem
- Pointer to the partition's memory control block.
- pblk
- Pointer to the memory block being released.
Return value
- OS_NO_ERR
- The memory block was inserted into the partition.
- OS_MEM_FULL
- If returning a memory block to an already FULL memory partition. (More blocks were freed than allocated!)
Library
- UCOS2.LIB
See also
- OSMemCreate, OSMemGet, OSMemQuery
Dynamic C Functions | << Previous | Next >> | rabbit.com |