提交 d5095562 编写于 作者: R Rich Felker

add missing flags in sys/timerfd.h

上级 2384f27d
......@@ -6,6 +6,12 @@ extern "C" {
#endif
#include <time.h>
#include <fcntl.h>
#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 *);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册