- To: SLUG <slug@xxxxxxxxxxx>
- Subject: [SLUG] c code timing function.
- From: Alex Salmon <salmona@vila.salmon>
- Date: Mon Aug 7 21:45:13 2000
hi all
i am writing a c program and i want it to lie dormant then every say 5
mins wake up and test somthing and then lie again. It has to be c native
so i can port it but it must work in linux for the moment, i have
thought about using time_t but to test that i end up in
endless loops and all sorts of ugly things.
Q
is there a way to wake up a prog every x seconds in C so no scripts please
:-)
thanks
ghoti
--
When life is hard to stand try kneeling.
I never met a calorie i didn't like ;-)