Function libiio_sys::iio_context_get_attr
source · [−]pub unsafe extern "C" fn iio_context_get_attr(
ctx: *const iio_context,
index: c_uint,
name: *mut *const c_char,
value: *mut *const c_char
) -> c_int
Expand description
@brief Retrieve the name and value of a context-specific attribute @param ctx A pointer to an iio_context structure @param index The index corresponding to the attribute @param name A pointer to a const char * pointer (NULL accepted) @param value A pointer to a const char * pointer (NULL accepted) @return On success, 0 is returned @return On error, a negative errno code is returned
Introduced in version 0.9.