Function lrs::syscall::timerfd_settime

Arms or disarms a timerfd.

Syntax

fn timerfd_settime(fd: i32, flags: i32, new: &itimerspec, old: Option<&mut itimerspec>) -> i32

Arguments

NameDescription
fd

The timerfd.

flags

Flags used to disarm or arm the timerfd.

new

The new settings of the timer.

old

An optional place where the old settings will be stored.

Return value

Returns success or an error value.

See also