SLUG Mailing List Archives
[SLUG] c code timing function.
- To: SLUG <slug@xxxxxxxxxxx>
- Subject: [SLUG] c code timing function.
- From: Alex Salmon <firstname.lastname@example.org>
- Date: Mon Aug 7 21:45:13 2000
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.
is there a way to wake up a prog every x seconds in C so no scripts please
When life is hard to stand try kneeling.
I never met a calorie i didn't like ;-)