calloc

Allocates an entry of size and clears the entry.

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

Parameters

threadSafe

Should this operation be thread safe? Default false.

size size_t

Size of the new entry.

Return Value

Type: void*

Pointer to the allocated entry.

Meta