mirror of git://git.musl-libc.org/musl
add missing flags in sys/timerfd.h
This commit is contained in:
parent
2384f27d34
commit
d50955620f
|
@ -6,6 +6,12 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <time.h>
|
#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_create(int, int);
|
||||||
int timerfd_settime(int, int, const struct itimerspec *, struct itimerspec *);
|
int timerfd_settime(int, int, const struct itimerspec *, struct itimerspec *);
|
||||||
|
|
Loading…
Reference in New Issue