pub unsafe extern "C" fn sys_clock_settime(
clock_id: i32,
tp: *const timespec,
) -> i32
Expand description
@brief Set the current time for the specified clock
@param clock_id The clock for which the time should be set.
@param tp Pointer to memory specifying the desired time.
@retval 0 on success.
@retval -EINVAL when an invalid @a clock_id is specified or when @a tp contains nanoseconds
outside of the range [0, 999999999]
.