Function wasmer_wasix::syscalls::wasi::fd_sync::fd_sync

source ·
pub fn fd_sync(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    fd: Fd,
) -> Result<Errno, WasiError>
Expand description

§fd_sync()

Synchronize file and metadata to disk (TODO: expand upon what this means in our system) Inputs:

  • Fd fd The file descriptor to sync Errors: TODO: figure out which errors this should return
  • Errno::Perm
  • Errno::Notcapable