Returns a block of memory allocated by alloclmb() to the system.
#include <sys/dr.h>
int freelmb(long long laddr
The freelmb() subroutine returns a block of memory, allocated by allocmb(), for general system use.
Item | Description |
---|---|
laddr | A previously allocated LMB address. |
This freelmb() interface should only be called from the process environment.
Item | Description |
---|---|
0 | The LMB is successfully freed. |
Item | Description |
---|---|
ENOTSUP | LMB allocation not supported on this system. |
EINVAL | laddr does not describe a previously allocated LMB. |
EINVAL | Not in the process environment. |