---
name: "xdf_copy_conf"
section: "3"
platform: "linux"
package: "libxdffileio-dev"
version: "0.3-4+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/xdf_copy_conf"
---

# xdf\_copy\_conf(3)

Configure a xDF file according to a template

## NAME

xdf\_copy\_conf - Configure a xDF file according to a template

## SYNOPSIS

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

**int xdf\_copy\_conf(struct xdf\*** *dst***, conf struct xdf\*** *src***);**\

## DESCRIPTION

**xdf\_copy\_conf**() configure the xDF file referenced by *dst* using the information described by *src*.

## RETURN VALUE

The function returns 0 in case of success, -1 otherwise.

## SEE ALSO

[**xdf\_set\_conf**(3)](/xdf_set_conf/3.md), [**xdf\_get\_conf**(3)](/xdf_get_conf/3.md)
