(ctx: &VmCtx, v_fd: u32)
| 211 | #[ensures(ctx_safe(ctx))] |
| 212 | #[ensures(trace_safe(trace, ctx))] |
| 213 | pub fn wasi_fd_sync(ctx: &VmCtx, v_fd: u32) -> RuntimeResult<()> { |
| 214 | let fd = ctx.fdmap.fd_to_native(v_fd)?; |
| 215 | let ret = trace_sync(ctx, fd)?; |
| 216 | Ok(()) |
| 217 | } |
| 218 | |
| 219 | // https://github.com/WebAssembly/WASI/blob/main/phases/snapshot/docs.md#fd_datasync |
| 220 | // modifies: None |
no test coverage detected