---
name: "xdf_copy_chconf"
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_chconf"
---

# xdf\_copy\_chconf(3)

Configure a channel according to a template

## NAME

xdf\_copy\_chconf - Configure a channel according to a template

## SYNOPSIS

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

**int xdf\_copy\_chconf(struct xdfch\*** *dst***, const struct xdfch\*** *src***);**\

## DESCRIPTION

**xdf\_copy\_chconf**() configure the channel 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\_chconf**(3)](/xdf_set_chconf/3.md), [**xdf\_get\_chconf**(3)](/xdf_get_chconf/3.md)
