X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fsys%2Ftimerfd.h;h=df645fe8aef564a9de722bfad66e3c424b22705c;hp=0afa7b0e2b4a029805cdd0a385f60144311a149b;hb=48854dffdb66191e7e54c0ea94bd1bd330905d7d;hpb=231b9d1880bf686c0db918cea16c355f2d6598fc diff --git a/include/sys/timerfd.h b/include/sys/timerfd.h index 0afa7b0e..df645fe8 100644 --- a/include/sys/timerfd.h +++ b/include/sys/timerfd.h @@ -6,6 +6,12 @@ extern "C" { #endif #include +#include + +#define TFD_NONBLOCK O_NONBLOCK +#define TFD_CLOEXEC O_CLOEXEC + +#define TFD_TIMER_ABSTIME 1 int timerfd_create(int, int); int timerfd_settime(int, int, const struct itimerspec *, struct itimerspec *);