Poster of Linux kernelThe best gift for a Linux geek
COMEDI_FIND_SUBDEVICE_BY_TYPE

COMEDI_FIND_SUBDEVICE_BY_TYPE

Section: (3) Updated: 28 October 2007
Local index Up

 

NAME

comedi_find_subdevice_by_type - search for subdevice type  

SYNOPSIS

#include <comedilib.h>

int comedi_find_subdevice_by_type (comedi_t * device, int type, unsigned int start_subdevice);  

DESCRIPTION

The function comedi_find_subdevice_by_type() tries to locate a subdevice belonging to comedi device device, having type type, starting with the subdevice start_subdevice. If it finds a subdevice with the requested type, it returns its index. If it does not locate the requested subdevice, it returns -1 and sets the Comedilib error number to XXX "subdevice not found". If there is an error, the function returns -1 and sets the appropriate error.


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 21:43:40 GMT, April 16, 2011