264
K
A
DAK
AMX 86 Procedures
ajmfre ajmfre
Purpose Free Previously Allocated Block
Used by n Task o IS P o Timer Procedure n Restart Procedure n Exit Procedure
Setup char *blockp;
int status;
.
.
status = ajmfre(blockp);
AX ES:BX
Where blockp is a pointer to a memory block allocated by ajmget or ajmgeh.
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned.
AEROK = Call successful
AERMIB = Invalid memory block pointer
AERMNU = Memory block not in use
The memory block use count is decremented by one. If the use count goes
to zero, the memory block is released for reuse.
See Also ajmget, ajmgeh, ajmau