man comedi_set_buffer_size (Fonctions bibliothèques) - streaming buffer size of subdevice

NAME

comedi_set_buffer_size - streaming buffer size of subdevice

SYNOPSIS

#include <comedilib.h> int comedi_set_buffer_size (comedi_t * device, unsigned int subdevice, unsigned int size);

DESCRIPTION

The function comedi_set_buffer_size() changes the size of the streaming buffer for the subdevice specified by device and subdevice. The parameter size must be a multiple of the virtual memory page size.

The virtual memory page size can be determined using sysconf(_SC_PAGE_SIZE).