Function libiio_sys::iio_device_get_attr
source · pub unsafe extern "C" fn iio_device_get_attr(
dev: *const iio_device,
index: c_uint
) -> *const c_char
Expand description
@brief Get the device-specific attribute present at the given index @param dev A pointer to an iio_device structure @param index The index corresponding to the attribute @return On success, a pointer to a static NULL-terminated string @return If the index is invalid, NULL is returned