Function libiio_sys::iio_device_get_name
source · [−]pub unsafe extern "C" fn iio_device_get_name(
dev: *const iio_device
) -> *const c_char
Expand description
@brief Retrieve the device name (e.g. xadc) @param dev A pointer to an iio_device structure @return A pointer to a static NULL-terminated string
NOTE: if the device has no name, NULL is returned.