GC.reserve

Requests that at least sz bytes of memory be obtained from the operating system and marked as free.

struct GC
extern (C) pragma(mangle, "gc_reserve") static nothrow pure
size_t
reserve
(
size_t sz
)

Parameters

sz size_t

The desired size in bytes.

Return Value

Type: size_t

The actual number of bytes reserved or zero on error.

Meta