-
- Downloads
Auto merge of #759 - slyrz:master, r=alexcrichton
Add timerfd API on Linux This change adds the Linux-specific timerfd API to libc. ```C #include <sys/timerfd.h> int timerfd_create(int clockid, int flags); int timerfd_gettime(int fd, struct itimerspec *curr_value); int timerfd_settime(int fd, int flags, const struct itimerspec *new_value, struct itimerspec *old_value); ``` The timerfd API has been available since kernel 2.6.25 and in glibc since version 2.8. I'm not sure if I put the changes in the right places, so please review with great care.
No related branches found
No related tags found
Please register or sign in to comment