Scroll to navigation

KCALLOC(9) Memory Management in Linux KCALLOC(9)

NAME

kcalloc - allocate memory for an array. The memory is set to zero.

SYNOPSIS

void * kcalloc(size_t n, size_t size, gfp_t flags);

ARGUMENTS

size_t n

number of elements.

size_t size

element size.

gfp_t flags

the type of memory to allocate (see kmalloc).

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11