⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

timerfd_settime

Function timerfd_settime 

Source
pub fn timerfd_settime(
    tfd_id: u32,
    flags: u32,
    new_spec: &Itimerspec,
    old_spec: Option<&mut Itimerspec>,
) -> Result<usize, SyscallError>
Expand description

Arm or disarm a timerfd.

§Arguments

  • tfd_id: Timer fd ID.
  • flags: TFD_TIMER_ABSTIME for absolute time.
  • new_spec: New timer specification.

§Returns

The previous timer specification via old_spec (if non-null).