[−][src]Function linux::syscall::timerfd_create
pub fn timerfd_create(clock: c_int, flags: c_int) -> c_int
Creates a new timerfd.
[argument, clock] The clock to be used for timekeeping.
[argument, flags] The flags to be used for creating the file descriptor.
[return_value] Returns the file descriptor or an error value.
= Remarks
Unless lrs was compiled with the no-auto-cloexec
flag, this function automatically
adds the TFD_CLOEXEC
flag.
= See also
- link:man:timerfd_create(2)