Function libiio_sys::iio_create_scan_context
source · pub unsafe extern "C" fn iio_create_scan_context(
backend: *const c_char,
flags: c_uint
) -> *mut iio_scan_context
Expand description
@brief Create a scan context @param backend A NULL-terminated string containing the backend to use for scanning. If NULL, all the available backends are used. @param flags Unused for now. Set to 0. @return on success, a pointer to a iio_scan_context structure @return On failure, NULL is returned and errno is set appropriately