AMX 86 Procedures
K
A
DAK
207
ajbau ajbau
Purpose Add to Buffer's Use Count
Used by n Task n IS P n Timer Procedure n Restart Procedure n Exit Procedure
Setup int increment;
char *buffp;
int status;
.
.
status = ajbau(buffp, increment);
AX ES:BX DX
Where buffp is a pointer to a buffer obtained with an ajbget call.
increment is the signed value to be added to the buffer use count.
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned.
AEROK = Call successful
use count = use count + increment
AERBNU = Buffer not in use
AERBUV = Use count + increment >= 216
AERNSP = Buffer does not belong to a buffer pool
Once a buffer's use count is increased to n, the buffer will not be returned
to the free list of its pool until n calls to ajbfre are made to release the
buffer.
See Also ajbget, ajbfre