Function libiio_sys::iio_channel_attr_write_raw
source · [−]pub unsafe extern "C" fn iio_channel_attr_write_raw(
chn: *const iio_channel,
attr: *const c_char,
src: *const c_void,
len: usize
) -> isize
Expand description
@brief Set the value of the given channel-specific attribute @param chn A pointer to an iio_channel structure @param attr A NULL-terminated string corresponding to the name of the 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