|
| _free_boxn| Summary | |
#include <membox.h>
int _free_boxn (
void near *box_mem, /* pool address */
void near *box); /* block address */
| | Description | | The _free_boxn routine returns a block box, that was previously allocated using _alloc_boxn or _calloc_boxn, to the memory pool specified by box_mem. Note - This routine is reentrant and thread-safe. It may be called from the main function and an interrupt with no restrictions.
| | Return Value | | The _free_boxn routine returns a value of 1 if the box was successfully returned to the memory pool or a value of 0 if there was an error freeing the block. | | See Also | | _alloc_boxn, _calloc_boxn, _init_boxn |
|
|