Function wasmer_wasix::syscalls::wasi::clock_time_set::clock_time_set
source · pub fn clock_time_set<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
clock_id: Snapshot0Clockid,
time: Timestamp,
) -> Result<Errno, WasiError>
Expand description
§clock_time_set()
Set the time of the specified clock Inputs:
Clockid clock_id
The ID of the clock to queryTimestamp *time
The value of the clock in nanoseconds