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