Function lrs::syscall::clock_settime

Sets the time of a clock.

Syntax

fn clock_settime(clock: i32, res: &timespec) -> i32

Arguments

NameDescription
clock

The id of the clock.

res

The new time of the clock.

Return value

Returns success or an error value.

See also