dc_iostream_sleep

Function dc_iostream_sleep 

Source
pub unsafe extern "C" fn dc_iostream_sleep(
    iostream: *mut dc_iostream_t,
    milliseconds: c_uint,
) -> dc_status_t
Expand description

Suspend execution of the current thread for the specified amount of time.

@param[in] iostream A valid I/O stream. @param[in] milliseconds The number of milliseconds to sleep. @returns #DC_STATUS_SUCCESS on success, or another #dc_status_t code on failure.