comedi_cancel man page

comedi_cancel — stop streaming input/output in progress

Synopsis

#include <comedilib.h>

int comedi_cancel(comedi_t * device, unsigned int subdevice);

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.

Return Value

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

Authors

David Schleef <ds@schleef.org>

Author.

Frank Mori Hess <fmhess@users.sourceforge.net>

Author.

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

Author.

Bernd Porr <tech@linux-usb-daq.co.uk>

Author.

Ian Abbott <abbotti@mev.co.uk>

Author.

Éric Piel <piel@delmic.com>

Author.

Info

05/11/2017 Comedi reference