comedi_get_subdevice_type - type of subdevice
#include <comedilib.h> int comedi_get_subdevice_type (comedi_t * device, unsigned int subdevice);
The function comedi_get_subdevice_type() returns an integer describing the type of subdevice that belongs to the comedi device device and has the index subdevice. The function returns -1 if there is an error. XXX Subdevice type table 28 October 2007