X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Ftimerfd.h;h=df645fe8aef564a9de722bfad66e3c424b22705c;hb=f143458223f90262a9c2d929f9e815a74e3aa139;hp=0afa7b0e2b4a029805cdd0a385f60144311a149b;hpb=231b9d1880bf686c0db918cea16c355f2d6598fc;p=musl 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 *);