DOKK / manpages / debian 10 / libxdffileio-dev / xdf_get_channel.3.en
XDF_GET_CHANNEL(3) xdffileio library manual XDF_GET_CHANNEL(3)

xdf_get_channel - Get the channel descriptor handle of a particular index

#include <xdfio.h>

struct xdfch* xdf_get_channel(const struct xdf* xdf,
unsigned int index);

xdf_get_channel() gets the channel descriptor of the channel stored at index index in the XDF file referenced by the handle xdf.

xdf_get_channel() returns the handle to requested channel descriptor in case of success, NULL otherwise.

xdf is NULL or index is bigger than the number of channel.

xdf_add_channel(3)

2010 EPFL