File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,11 @@ __api __check_ret struct iio_context * iio_create_context_from_uri(const char *u
435435/** @brief Duplicate a pre-existing IIO context
436436 * @param ctx A pointer to an iio_context structure
437437 * @return On success, A pointer to an iio_context structure
438- * @return On failure, NULL is returned and errno is set appropriately */
438+ * @return On failure, NULL is returned and errno is set appropriately
439+ *
440+ * <b>NOTE:</b> This function is not supported on 'usb:' contexts, since libusb
441+ * can only claim the interface once. "Function not implemented" is the expected errno.
442+ * Any context which is cloned, must be destroyed via calling iio_context_destroy() */
439443__api __check_ret struct iio_context * iio_context_clone (const struct iio_context * ctx );
440444
441445
You can’t perform that action at this time.
0 commit comments