[][src]Function linux::syscall::timerfd_settime

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

Arms or disarms a timerfd.

[argument, fd] The timerfd.

[argument, flags] Flags used to disarm or arm the timerfd.

[argument, new] The new settings of the timer.

[argument, old] An optional place where the old settings will be stored.

[return_value] Returns success or an error value.

= See also

  • link:man:timerfd_settime(2)