pub unsafe extern "C" fn sys_clock_settime(
clock_id: c_int,
tp: *const timespec,
) -> c_int
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]
.