Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
How to create a timer expiration with file descriptor ?
Answer

SYNOPSIS top

 #include <sys/timerfd.h> int timerfd_create(int clockid, int flags); int timerfd_settime(int fd, int flags, const struct itimerspec *new_value, struct itimerspec *old_value); int timerfd_gettime(int fd, struct itimerspec *curr_value);

Question
How to create a timer expiration with file descriptor ?
Answer
?

Question
How to create a timer expiration with file descriptor ?
Answer

SYNOPSIS top

 #include <sys/timerfd.h> int timerfd_create(int clockid, int flags); int timerfd_settime(int fd, int flags, const struct itimerspec *new_value, struct itimerspec *old_value); int timerfd_gettime(int fd, struct itimerspec *curr_value);
If you want to change selection, open document below and click on "Move attachment"

timerfd_create(2) - Linux manual page
| EXAMPLE | SEE ALSO | COLOPHON TIMERFD_CREATE(2) Linux Programmer's Manual TIMERFD_CREATE(2) NAME top timerfd_create, timerfd_settime, timerfd_gettime - timers that notify via file descriptors <span>SYNOPSIS top #include <sys/timerfd.h> int timerfd_create(int clockid, int flags); int timerfd_settime(int fd, int flags, const struct itimerspec *new_value, struct itimerspec *old_value); int timerfd_gettime(int fd, struct itimerspec *curr_value); DESCRIPTION top These system calls create and operate on a timer that delivers timer expiration notifications via a file descriptor. They provide an alternative to the use of setitimer(

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.