Function nc::timerfd_create [−][src]
Expand description
Create a timer that notifies via a file descriptor.
let ret = nc::timerfd_create(nc::CLOCK_MONOTONIC, nc::TFD_CLOEXEC);
assert!(ret.is_ok());
let fd = ret.unwrap();
assert!(nc::close(fd).is_ok());