AMX 86 Procedures
K
A
DAK
213
ajbgsz ajbgszPurpose Get Size of Buffer
Used by n Task n IS P n Timer Procedure n Restart Procedure n Exit Procedure
Setup char *buffp;
unsigned int size;
int status;
.
.
status = ajbgsz(buffp, &size);
AX ES:BX CX=
Where buffp is a pointer to a buffer obtained with an ajbget call.
size is the size of the buffer in bytes.
Results Interrupts are untouched.
Status is returned.
AEROK = Call successful
AERBNU = Buffer not in use
AERNSP = Buffer does not belong to a buffer pool
If the buffer is not in use, a size of 0 is returned.
See Also ajbget