pub unsafe fn clock_time_set(
    id: Clockid,
    timestamp: Timestamp
) -> Result<(), Errno>
Expand description

Sets the time value of a clock. Note: This is similar to clock_settime in POSIX.

Parameters

  • id - The clock for which to set the time.
  • timestamp - The value of the time to be set.

Return

The time value of the clock.