Function crosvm_control::crosvm_client_balloon_stats_impl
source · pub(crate) unsafe fn crosvm_client_balloon_stats_impl(
socket_path: *const c_char,
timeout_ms: Option<Duration>,
stats: *mut BalloonStatsFfi,
actual: *mut u64
) -> bool
Expand description
§Safety
This function is safe when the caller ensures the socket_path raw pointer can be safely passed
to CStr::from_ptr()
.