xdf_get_channel - Man Page

Get the channel descriptor handle of a particular index

Synopsis

#include <xdfio.h>

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

Description

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

Return Value

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

Errors

EINVAL

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

See Also

xdf_add_channel(3)

Info

2010 EPFL xdffileio library manual