sizeofblock(3F)
NAME
sizeofblock − size of pointer block
SYNOPSIS
integer∗4 function sizeofblock (block)
integer∗4 block
DESCRIPTION
sizeofblock returns the size of a pointer block in bytes. It may be used as the size argument to the memory allocation routines described in malloc(3f).
pointer /ptr/ a, b, c
integer∗4 ptr, a, b, c
external malloc
integer∗4 malloc
ptr = malloc (sizeofblock (ptr))
DIAGNOSTICS
The Hf77 compiler recognizes sizeofblock as an intrinsic. Any argument other than the name of a pointer block will produce an error during compilation.
SEE ALSO
CX/UX Hf77 Fortran Reference Manual