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 returnErrno::Perm
Errno::Notcapable