1
.\" This manpage has been automatically generated by docbook2man
2
.\" from a DocBook document. This tool can be found at:
3
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
4
.\" Please send any bug reports, improvements, comments, patches,
5
.\" etc. to Steve Cheng <steve@ggi-project.org>.
6
.TH "COMEDI_GET_N_RANGES" "3" "02 October 2004" "" ""
9
comedi_get_n_ranges \- number of ranges of channel
12
\fB#include <comedilib.h>
14
int comedi_get_n_ranges (comedi_t * \fIdevice\fB, unsigned int \fIsubdevice\fB, unsigned int \fIchannel\fB);
18
The function comedi_get_n_ranges() returns the number
19
of ranges of the channel chan belonging to the subdevice
20
of the comedi device device. This function returns -1 on error.