#include "flutter/fml/time/time_point.h"
#include <sys/types.h>
#include <linux/time.h>
Go to the source code of this file.
◆ FML_TIMERFD_AVAILABLE
| #define FML_TIMERFD_AVAILABLE 0 |
◆ TFD_CLOEXEC
| #define TFD_CLOEXEC O_CLOEXEC |
◆ TFD_NONBLOCK
| #define TFD_NONBLOCK O_NONBLOCK |
◆ TFD_TIMER_ABSTIME
| #define TFD_TIMER_ABSTIME (1 << 0) |
◆ TFD_TIMER_CANCEL_ON_SET
| #define TFD_TIMER_CANCEL_ON_SET (1 << 1) |
◆ timerfd_create()
| int timerfd_create |
( |
int |
clockid, |
|
|
int |
flags |
|
) |
| |
Definition at line 19 of file timerfd.cc.
19 {
20 return syscall(__NR_timerfd_create, clockid, flags);
21}
◆ timerfd_settime()
| int timerfd_settime |
( |
int |
ufc, |
|
|
int |
flags, |
|
|
const struct itimerspec * |
utmr, |
|
|
struct itimerspec * |
otmr |
|
) |
| |
Definition at line 23 of file timerfd.cc.
26 {
27 return syscall(__NR_timerfd_settime, ufc, flags, utmr, otmr);
28}
Referenced by fml::TimerRearm().