---
name: "elf_clone"
section: "3"
platform: "linux"
package: "libelf"
version: "0.197-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/elf_clone"
---

# elf\_clone(3)

Create a clone of an existing ELF descriptor.

## NAME

elf\_clone - Create a clone of an existing ELF descriptor.

```

```

## SYNOPSIS

**#include \<libelf.h\>**

**Elf \*elf\_clone (int** *filedes***, Elf\_Cmd** *cmd***);**

## DESCRIPTION

The **elf\_clone**()
