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

Поисковые слова: arp 220
comedi_mark_buffer_read

comedi_mark_buffer_read

Name

comedi_mark_buffer_read -- streaming buffer status

Synopsis

#include <comedilib.h>

int comedi_mark_buffer_read(comedi_t * device, unsigned int subdevice, unsigned int num_bytes);

Description

The function comedi_mark_buffer_read() is used on a subdevice that has a Comedi command in progress. This function can be used to indicate that the next num_bytes bytes in the buffer are no longer needed and may be discarded. If there is an error, -1 is returned.