logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

comedi_cancel - stop streaming input/output in progress

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_cancel can be used to stop a command previously started by comedi_command which is
       still in progress on the subdevice indicated by the parameters device and subdevice.

Name

       comedi_cancel - stop streaming input/output in progress

Return Value

       On success, 0 is returned. On failure, -1 is returned.

Synopsis

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

See Also