pub unsafe extern "C" fn iio_channel_attr_write_all(
    chn: *mut iio_channel,
    cb: Option<unsafe extern "C" fn(chn: *mut iio_channel, attr: *const c_char, buf: *mut c_void, len: usize, d: *mut c_void) -> isize>,
    data: *mut c_void
) -> c_int
Expand description

@brief Set the values of all channel-specific attributes @param chn A pointer to an iio_channel structure @param cb A pointer to a callback function @param data A pointer that will be passed to the callback function @return On success, 0 is returned @return On error, a negative errno code is returned

NOTE: This function is especially useful when used with the network backend, as all the channel-specific attributes are written in one single command.