man comedi_mark_buffer_read (Fonctions bibliothèques) - streaming buffer status

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.