int comedi_get_routing(comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int * routing);
Status
alpha
Overview
This function queries the routing for an output, as set by comedi_set_routing. The currently configured routing will be written to *routing. The possible values and their corresponding routings are driver-dependant.
This function is only useable on subdevices that provide support for the INSN_CONFIG_GET_ROUTING configuration instruction.
Return value
0 on success, -1 on error.
Releases
7 releases since Debian 7 (Wheezy); the text changed 6 times.