malloc

Allocates an entry of size

final @nogc static pragma(inline) @trusted
void*
malloc
(
bool threadSafe = false
)
(
size_t size
)

Parameters

threadSafe

Should this operation be thread safe? Default false.

size size_t

Size to be allocated.

Return Value

Type: void*

Pointer to the allocated entry.

Meta