Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

comedi_get_n_subdevices - number of subdevices

Authors

DavidSchleef <ds@schleef.org>
           Author.

       FrankMoriHess <fmhess@users.sourceforge.net>
           Author.

       HermanBruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
           Author.

       BerndPorr <tech@linux-usb-daq.co.uk>
           Author.

       IanAbbott <abbotti@mev.co.uk>
           Author.

       ÉricPiel <piel@delmic.com>
           Author.

Description

       The function comedi_get_n_subdevices returns the number of subdevices belonging to the Comedi device
       referenced by the parameter device, or -1 on error.

Name

       comedi_get_n_subdevices - number of subdevices

Synopsis

#include<comedilib.h>intcomedi_get_n_subdevices(comedi_t*device);

See Also