iio_create_default_context

Function iio_create_default_context 

Source
pub unsafe extern "C" fn iio_create_default_context() -> *mut iio_context
Expand description

@brief Create a context from local or remote IIO devices @return On success, A pointer to an iio_context structure @return On failure, NULL is returned and errno is set appropriately

NOTE: This function will create a context with the URI provided in the IIOD_REMOTE environment variable. If not set, a local context will be created instead.