Function libiio_sys::iio_device_set_kernel_buffers_count
source · [−]pub unsafe extern "C" fn iio_device_set_kernel_buffers_count(
dev: *const iio_device,
nb_buffers: c_uint
) -> c_int
Expand description
@brief Configure the number of kernel buffers for a device
This function allows to change the number of buffers on kernel side. @param dev A pointer to an iio_device structure @param nb_buffers The number of buffers @return On success, 0 is returned @return On error, a negative errno code is returned