Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.9, Language Reference Manual

ALLOCSIZE

ALLOCSIZE returns a FIXED BIN(31,0) value giving the amount of storage allocated with a specified pointer. To use this built-in function, you must also specify the CHECK(STORAGE) compile-time option.

Read syntax diagramSkip visual syntax diagram>>-ALLOCSIZE(p)------------------------------------------------><
 
p
Pointer expression.

ALLOCSIZE returns 0 if the pointer does not point to the start of a piece of allocated storage.

Note that the pointer passed to ALLOCSIZE is "rounded down" to the nearest doubleword and that rounded value is compared against all allocated addresses when similarly rounded down.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)