formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Memory

# fzrt_init_mem_block

Description

Initializes memory. This will set the number of bytes of memory pointed to by ptr to zeros.

Plugin Prototype

void fzrt_init_mem_block(

fzrt_ptr | ptr,
fzrt_int | size )

Parameters

ptr [Input, Result]

pointer to memory to clear

size [Input]

The number of bytes to clear

Returns

FZRT_NOERR on success, otherwise an error ID

Availability

5.0.0.0

See Also

fzrt_endian_swap_4_bytes,

Function Set

fz_fzrt_mem_fset

Defined in

fzrt_api.h