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

# \_\_bio\_clone\_fast(9)

clone a bio that shares the original bio's biovec

## NAME

\_\_bio\_clone\_fast - clone a bio that shares the original bio's biovec

## SYNOPSIS

**void \_\_bio\_clone\_fast(struct bio \*** *bio***, struct bio \*** *bio\_src***);**

## ARGUMENTS

*bio*

destination bio

*bio\_src*

bio to clone

## DESCRIPTION

Clone a bio. Caller will own the returned bio, but not the actual data it points to. Reference count of returned bio will be one.

Caller must ensure that *bio\_src* is not freed before *bio*.

## COPYRIGHT
