---
name: "kmemdup"
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/kmemdup"
---

# kmemdup(9)

duplicate region of memory

## NAME

kmemdup - duplicate region of memory

## SYNOPSIS

**void \* kmemdup(const void \*** *src***, size\_t** *len***, gfp\_t** *gfp***);**

## ARGUMENTS

*src*

memory region to duplicate

*len*

memory region length

*gfp*

GFP mask to use

## COPYRIGHT
