logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

comedi_get_max_buffer_size - maximum streaming buffer size

Authors

DavidSchleef <ds@schleef.org>
           Author.

       FrankMoriHess <fmhess@users.sourceforge.net>
           Author.

       HermanBruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
           Author.

       BerndPorr <tech@linux-usb-daq.co.uk>
           Author.

       IanAbbott <abbotti@mev.co.uk>
           Author.

       ÉricPiel <piel@delmic.com>
           Author.

Description

       The function comedi_get_max_buffer_size returns the maximum allowable size (in bytes) of the streaming
       buffer for the subdevice specified by device and subdevice. Changing the maximum buffer size can be
       accomplished with comedi_set_max_buffer_size or with the comedi_config program, and requires appropriate
       privileges.

Name

       comedi_get_max_buffer_size - maximum streaming buffer size

Return Value

       On success, the maximum allowable size (in bytes) of the streaming buffer is returned. On failure, -1 is
       returned.

Synopsis

#include<comedilib.h>intcomedi_get_max_buffer_size(comedi_t*device,unsignedintsubdevice);

See Also