X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Ftimerfd.h;h=1b832cdd8f8faed5423cdc7d33060ed1f1cd73e3;hb=ab9e20905dc1cb74d955cc94b5b76e6e1892b8fe;hp=df645fe8aef564a9de722bfad66e3c424b22705c;hpb=969ddbc423238291d5c7982790bbe72720627ba4;p=musl diff --git a/include/sys/timerfd.h b/include/sys/timerfd.h index df645fe8..1b832cdd 100644 --- a/include/sys/timerfd.h +++ b/include/sys/timerfd.h @@ -12,11 +12,19 @@ extern "C" { #define TFD_CLOEXEC O_CLOEXEC #define TFD_TIMER_ABSTIME 1 +#define TFD_TIMER_CANCEL_ON_SET (1 << 1) + +struct itimerspec; int timerfd_create(int, int); int timerfd_settime(int, int, const struct itimerspec *, struct itimerspec *); int timerfd_gettime(int, struct itimerspec *); +#if _REDIR_TIME64 +__REDIR(timerfd_settime, __timerfd_settime64); +__REDIR(timerfd_gettime, __timerfd_gettime64); +#endif + #ifdef __cplusplus } #endif