kcalloc(9)
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
n
- number of elements.
size
- element size.
flags
- the type of memory to allocate (see kmalloc).
Linux Manual Pages › Section 9
kcalloc - allocate memory for an array. The memory is set to zero.
void *kcalloc(size_t n, size_t size, gfp_t flags);n
size
flags