logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

comedi_set_max_buffer_size - streaming maximum buffer size of subdevice

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_set_max_buffer_size changes the maximum allowable size (in bytes) of the streaming
       buffer for the subdevice specified by device and subdevice. Changing the maximum buffer size requires the
       user to have appropriate privileges.

Name

       comedi_set_max_buffer_size - streaming maximum buffer size of subdevice

Return Value

       On success, comedi_set_max_buffer_size returns the new maximum buffer size in bytes. On failure, -1 is
       returned.

Synopsis

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

See Also