AMX 86 Procedures
K
A
DAK
211
ajbfre ajbfre
Purpose Free a Buffer
Used by n Task n IS P n Timer Procedure n Restart Procedure n Exit Procedure
Setup char *buffp;
int status;
.
.
status = ajbfre(buffp);
AX ES:BX
Where buffp is a pointer to a buffer obtained by an ajbget call.
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned.
AEROK = Call successful
AERBNU = Buffer not in use
AERNSP = Buffer does not belong to a buffer pool
The buffer use count is decremented by one. If the use count goes to zero,
the buffer is returned to its pool's list of free buffers.
See Also ajbget, ajbau