logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

comedi_get_subdevice_type - type of subdevice

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_subdevice_type returns an integer describing the type of subdevice that belongs
       to the comedi device device and has the subdevice index subdevice. The comedi_subdevice_type enum
       specifies the possible values for the subdevice type.

Name

       comedi_get_subdevice_type - type of subdevice

Return Value

       The function returns the subdevice type, or -1 if there is an error.

Synopsis

#include<comedilib.h>intcomedi_get_subdevice_type(comedi_t*device,unsignedintsubdevice);

See Also