Документ взят из кэша поисковой машины. Адрес оригинального документа : http://mavr.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-get-buffer-contents.html
Дата изменения: Unknown
Дата индексирования: Fri Dec 28 19:53:11 2007
Кодировка:
comedi_get_buffer_contents

comedi_get_buffer_contents

Name

comedi_get_buffer_contents -- streaming buffer status

Synopsis

#include <comedilib.h>

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

Description

The function comedi_get_buffer_contents() is used on a subdevice that has a Comedi command in progress. The number of bytes that are available in the streaming buffer is returned. If there is an error, -1 is returned.