comedi_get_n_subdevices - number of subdevices
#include <comedilib.h> int comedi_get_n_subdevices (comedi_t * device);
Returns the number of subdevices belonging to the Comedi device referenced by the parameter device. 28 October 2007