Function libiio_sys::iio_device_debug_attr_read_bool
source · [−]pub unsafe extern "C" fn iio_device_debug_attr_read_bool(
dev: *const iio_device,
attr: *const c_char,
val: *mut bool
) -> c_int
Expand description
@brief Read the content 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 val A pointer to a bool variable where the value should be stored @return On success, 0 is returned @return On error, a negative errno code is returned