flush_captured_handle

Function flush_captured_handle 

Source
pub(crate) fn flush_captured_handle(
    env: &WasiEnv,
    flush_target: Option<Arc<RwLock<Box<dyn VirtualFile + Send + Sync>>>>,
) -> Result<Errno, WasiError>
Expand description

Best-effort flush of a file handle captured before fd removal.