]>
git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - include/linux/timerfd.h
2 * include/linux/timerfd.h
4 * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org>
8 #ifndef _LINUX_TIMERFD_H
9 #define _LINUX_TIMERFD_H
11 #include <uapi/linux/timerfd.h>
13 #define TFD_SHARED_FCNTL_FLAGS (TFD_CLOEXEC | TFD_NONBLOCK)
14 /* Flags for timerfd_create. */
15 #define TFD_CREATE_FLAGS TFD_SHARED_FCNTL_FLAGS
16 /* Flags for timerfd_settime. */
17 #define TFD_SETTIME_FLAGS (TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET)
19 #endif /* _LINUX_TIMERFD_H */