Документ взят из кэша поисковой машины. Адрес оригинального документа : http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-cancel.html
Дата изменения: Unknown
Дата индексирования: Tue Oct 2 09:27:20 2012
Кодировка:

Поисковые слова: supernova remnant
comedi_cancel

comedi_cancel

Name

comedi_cancel -- stop streaming input/outpu 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 Comedi command previously started by comedi_command() that is still in progress on the subdevice indicated by the parameters device and subdevice. This may not return the subdevice to a ready state, since there may be samples in the buffer that need to be read.

If sucessful, 0 is returned, otherwise -1.