Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

comedi_get_buffer_size - streaming 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_get_buffer_size returns the size (in bytes) of the streaming buffer for the subdevice
       specified by device and subdevice.

Name

       comedi_get_buffer_size - streaming buffer size of subdevice

Return Value

       On success, comedi_get_buffer_size returns the size of the buffer in bytes. On failure, -1 is returned.

Synopsis

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

See Also