Function libiio_sys::iio_device_debug_attr_write_raw
source · [−]pub unsafe extern "C" fn iio_device_debug_attr_write_raw(
dev: *const iio_device,
attr: *const c_char,
src: *const c_void,
len: usize
) -> isize
Expand description
@brief Set the value of the given debug attribute @param dev A pointer to an iio_device structure @param attr A NULL-terminated string corresponding to the name of the debug attribute @param src A pointer to the data to be written @param len The number of bytes that should be written @return On success, the number of bytes written @return On error, a negative errno code is returned