The function comedi_get_read_subdevice returns the index of the subdevice whose streaming input buffer is currently accessible through the device device, if there is one.
Return value
On success, comedi_get_read_subdevicereturns the index of the current “read” subdevice if there is one, or -1 if there is no “read” subdevice. On failure, -1 is returned.
Releases
11 releases since Debian 3.1 (Sarge); the text changed 8 times.