1 /* Generated by ./xlat/gen.sh from ./xlat/timerfdflags.in; do not edit. */ 2 3 static const struct xlat timerfdflags[] = { 4 /* The Linux userspace headers didn't export these for a long time. */ 5 6 #if !(defined(TFD_TIMER_ABSTIME) || (defined(HAVE_DECL_TFD_TIMER_ABSTIME) && HAVE_DECL_TFD_TIMER_ABSTIME)) 7 # define TFD_TIMER_ABSTIME (1 << 0) 8 #endif 9 XLAT(TFD_TIMER_ABSTIME), 10 #if !(defined(TFD_TIMER_CANCEL_ON_SET) || (defined(HAVE_DECL_TFD_TIMER_CANCEL_ON_SET) && HAVE_DECL_TFD_TIMER_CANCEL_ON_SET)) 11 # define TFD_TIMER_CANCEL_ON_SET (1 << 1) 12 #endif 13 XLAT(TFD_TIMER_CANCEL_ON_SET), 14 #ifdef O_CLOEXEC 15 #if !(defined(TFD_CLOEXEC) || (defined(HAVE_DECL_TFD_CLOEXEC) && HAVE_DECL_TFD_CLOEXEC)) 16 # define TFD_CLOEXEC O_CLOEXEC 17 #endif 18 XLAT(TFD_CLOEXEC), 19 #endif 20 #if !(defined(TFD_NONBLOCK) || (defined(HAVE_DECL_TFD_NONBLOCK) && HAVE_DECL_TFD_NONBLOCK)) 21 # define TFD_NONBLOCK O_NONBLOCK 22 #endif 23 XLAT(TFD_NONBLOCK), 24 XLAT_END 25 }; 26