pub unsafe extern "C" fn iio_context_clone(
ctx: *const iio_context,
) -> *mut iio_contextExpand description
@brief Duplicate a pre-existing IIO context @param ctx A pointer to an iio_context structure @return On success, A pointer to an iio_context structure @return On failure, NULL is returned and errno is set appropriately
NOTE: This function is not supported on ‘usb:’ contexts, since libusb can only claim the interface once. “Function not implemented” is the expected errno. Any context which is cloned, must be destroyed via calling iio_context_destroy()