Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-mark-buffer-read.html
Дата изменения: Unknown
Дата индексирования: Sat Sep 11 21:03:03 2010
Кодировка:

Поисковые слова: earth's atmosphere
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.