pub unsafe extern "C" fn iio_device_get_trigger(
    dev: *const iio_device,
    trigger: *mut *const iio_device
) -> c_int
Expand description

@brief Retrieve the trigger of a given device @param dev A pointer to an iio_device structure @param trigger a pointer to a pointer of an iio_device structure. The pointed pointer will be set to the address of the iio_device structure corresponding to the associated trigger device. @return On success, 0 is returned @return On error, a negative errno code is returned