---
name: "kzalloc"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/kzalloc"
---

# kzalloc(9)

allocate memory. The memory is set to zero.

## NAME

kzalloc - allocate memory. The memory is set to zero.

## SYNOPSIS

**void \* kzalloc(size\_t** *size***, gfp\_t** *flags***);**

## ARGUMENTS

*size*

how many bytes of memory are required.

*flags*

the type of memory to allocate (see kmalloc).

## COPYRIGHT
