#include <membox.h>
int _free_boxf (
void far *box_mem, /* pool address */
void far *box); /* block address */
Description
The _free_boxf routine returns a block box, that was previously allocated using _alloc_boxf
or _calloc_boxf, 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_boxf 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.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.