Creates a new timerfd.
fn timerfd_create(clock: i32, flags: i32) -> i32
| Name | Description |
|---|---|
| clock | The clock to be used for timekeeping. |
| flags | The flags to be used for creating the file descriptor. |
Returns the file descriptor or an error value.
Unless lrs was compiled with the no-auto-cloexec flag, this function automatically adds the TFD_CLOEXEC flag.