pub unsafe extern "C" fn iio_device_attr_write_bool(
    dev: *const iio_device,
    attr: *const c_char,
    val: bool
) -> c_int
Expand description

@brief Set the value of the given device-specific attribute @param dev A pointer to an iio_device structure @param attr A NULL-terminated string corresponding to the name of the attribute @param val A bool value to set the attribute to @return On success, 0 is returned @return On error, a negative errno code is returned