1COMEDI_POLL(3) COMEDI_POLL(3)
2
3
4
6 comedi_poll - force updating of streaming buffer
7
9 #include <comedilib.h>
10
11 int comedi_poll (comedi_t * device, unsigned int subdevice);
12
14 The function comedi_poll() is used on a subdevice that has a Comedi
15 command in progress in order to update the streaming buffer. If sup‐
16 ported by the driver, all available samples are copied to the streaming
17 buffer. These samples may be pending in DMA buffers or device FIFOs.
18 If sucessful, the number of additional bytes available is returned. If
19 there is an error, -1 is returned.
20
21 28 October 2007 COMEDI_POLL(3)