1. I need to write a daemon which calls a method every 10 seconds.
In Windows I can do this by creating a hiddenwindow, and call the method in WM_TIMER message handler.
2. I need to do it in Linux with C. Hence I want to know about timer operations in C, so that I can call a method periodically.(Without wasting the CPU time)
3. Any example programs will be helpful.
Any help is appreciated.