Function libiio_sys::iio_context_get_version
source · pub unsafe extern "C" fn iio_context_get_version(
ctx: *const iio_context,
major: *mut c_uint,
minor: *mut c_uint,
git_tag: *mut c_char
) -> c_int
Expand description
@brief Get the version of the backend in use @param ctx A pointer to an iio_context structure @param major A pointer to an unsigned integer (NULL accepted) @param minor A pointer to an unsigned integer (NULL accepted) @param git_tag A pointer to a 8-characters buffer (NULL accepted) @return On success, 0 is returned @return On error, a negative errno code is returned