comedi_get_subdevice_type3
Type of subdevice
Usage
#include <comedilib.h>
int comedi_get_subdevice_type(comedi_t * device, unsigned int subdevice);
Overview
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.
Return value
The function returns the subdevice type, or -1 if there is an error.
Releases
12 releases since Debian 3.0 (Woody); the text changed 9 times.