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

# fz_mem_zone_free_bytes

Description

Gets the available memory in specified mem zone. This will return the amount of free memory in one mem zone.

Plugin Prototype

fzrt_error_td fz_mem_zone_free_bytes(

fzrt_zone_ptr | zone_ptr,
fzrt_unsigned_int * | free )

Parameters

zone_ptr [Input]

mem zone of which to get the free bytes

free [Result]

pointer to fzrt_int that receives the amount of free space in bytes

Returns

FZRT_NOERR on success, error ID otherwise.

Availability

5.0.0.0

See Also

fz_mem_zone_free_bytes,

Function Set

fz_fzrt_mem_fset

Defined in

fzrt_api.h