LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   C Timer functions (https://www.linuxquestions.org/questions/programming-9/c-timer-functions-778659/)

jayasekar 12-29-2009 05:16 AM

C Timer functions
 
hi friends,
is there any c functions in linux which is similar to settimer(), killtimer() function in windows.
one thing we can do is using gettimeofday() get the current time. is there any other way ??

Aquarius_Girl 12-29-2009 06:26 AM

Check out the following links:

1. http://linux.die.net/man/3/timer

2. http://linux.die.net/man/2/setitimer

P.S.
Do you mind spending half minute on google for searching the text: timer linux, coz. that's what I did on your behalf !


All times are GMT -5. The time now is 06:58 AM.