Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sizeofblock(3F) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

malloc(3f)

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

malloc(3f). 

CX/UX Hf77 Fortran Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026