.EGETV - allocate vector on an even word boundary.

Usage:

B:
   vec = .egetv( size );
C:
   #equate _egetv .egetv
   int _egetv(int size);

Where:

size
is an expression which specifies how many words of memory you want.
vec
is a pointer to the allocated memory.

Description:

.EGETV returns a pointer to a block of memory of the requested size, allocated on an even word boundary. .EGETV will allocate "size+1" words (so that the last word in this block of memory may be stored or retrieved as "vec[size]"). The memory which .EGETV allocates is obtained from the free list, which initially contains the space following the user's program.

See Also:

expl b lib getvec
for general storage allocation information

Copyright © 2000, Thinkage Ltd.