int comedi_get_write_subdevice(comedi_t * device);
Overview
The function comedi_get_write_subdevice returns the index of the subdevice whose streaming output buffer is currently accessible through the device device, if there is one.
Return value
On success, comedi_get_write_subdevicereturns the index of the current “write” subdevice if there is one, or -1 if there is no “write” subdevice. On failure, -1 is returned.
Releases
11 releases since Debian 3.1 (Sarge); the text changed 8 times.