Function timerfd_create
Source pub fn timerfd_create(clockid: u32, flags: u32) -> Result<usize, SyscallError>
Expand description
Create a new timerfd.
§Arguments
clockid: CLOCK_REALTIME or CLOCK_MONOTONIC.
flags: Combination of TFD_NONBLOCK, TFD_CLOEXEC.
§Returns
The timerfd ID on success.