Function libiio_sys::iio_buffer_refill
source · [−]pub unsafe extern "C" fn iio_buffer_refill(
buf: *mut iio_buffer
) -> isize
Expand description
@brief Fetch more samples from the hardware @param buf A pointer to an iio_buffer structure @return On success, the number of bytes read is returned @return On error, a negative errno code is returned
NOTE: Only valid for input buffers