comedi_set_buffer_size man page

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).

Info

28 October 2007