#[no_mangle]
pub unsafe extern "C" fn crosvm_client_balloon_stats_with_timeout(
socket_path: *const c_char,
timeout_ms: u64,
stats: *mut BalloonStatsFfi,
actual: *mut u64,
) -> bool
Expand description
See crosvm_client_balloon_stats.
§Safety
Function is unsafe due to raw pointer usage - socket_path
should be a non-null pointer to a C
string that is valid for reads and not modified for the duration of the call. stats
should be
a pointer to a BalloonStatsFfi
valid for writes is not modified for the duration of this
call, and actual
should be a pointer to a u64
valid for writes that is not modified for the
duration of this call.