---
name: "xosd_clone"
section: "3"
platform: "linux"
package: "libxosd-dev"
version: "2.2.15-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/xosd_clone"
---

# xosd\_clone(3)

Duplicates an XOSD object with the same attributes

## NAME

xosd\_clone - Duplicates an XOSD object with the same attributes

## SYNOPSIS

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

**xosd\* xosd\_clone(xosd \*osd2);**

## DESCRIPTION

**xosd\_clone** creates a new unique xosd object with the same attributes as the original xosd object.

## ARGUMENTS

- *osd2*

  The on-screen display object to duplicate.

## RETURN VALUE

On success, returns a new xosd object.

## AUTHOR

libXosd team at Western Washington University
