Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

comedi_poll - force updating of streaming buffer

Authors

DavidSchleef <ds@schleef.org>
           Author.

       FrankMoriHess <fmhess@users.sourceforge.net>
           Author.

       HermanBruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
           Author.

       BerndPorr <tech@linux-usb-daq.co.uk>
           Author.

       IanAbbott <abbotti@mev.co.uk>
           Author.

       ÉricPiel <piel@delmic.com>
           Author.

Description

       The function comedi_poll is used on a subdevice that has a Comedi command in progress in order to update
       the streaming buffer. If supported by the driver, all available samples are copied to the streaming
       buffer. These samples may be pending in DMA buffers or device FIFOs. Only a few Comedi drivers support
       this operation.

Name

       comedi_poll - force updating of streaming buffer

Return Value

       On success, comedi_poll returns the number of additional bytes available. On failure, -1 is returned.

Synopsis

#include<comedilib.h>intcomedi_poll(comedi_t*device,unsignedintsubdevice);

See Also