Function libiio_sys::iio_channel_attr_write_longlong
source · [−]pub unsafe extern "C" fn iio_channel_attr_write_longlong(
chn: *const iio_channel,
attr: *const c_char,
val: c_longlong
) -> c_int
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 val A long long value to set the attribute to @return On success, 0 is returned @return On error, a negative errno code is returned