Table of Contents

hfzMalloc

Description

Allocate a block of memory, and initialise with zeros.

Function prototype

void* hfzMalloc(long nBytes);

Arguments

Name Type Comment
nBytes long The number of bytes to be allocated.

Return value

NULL if the memory could not be allocated, and a non-null pointer otherwise.

Comments

None.