pub unsafe extern "C" fn iio_context_set_timeout(
    ctx: *mut iio_context,
    timeout_ms: c_uint
) -> c_int
Expand description

@brief Set a timeout for I/O operations @param ctx A pointer to an iio_context structure @param timeout_ms A positive integer representing the time in milliseconds after which a timeout occurs. A value of 0 is used to specify that no timeout should occur. @return On success, 0 is returned @return On error, a negative errno code is returned