Answer the question
In order to leave comments, you need to log in
Explain on your fingers - how to work with setitimer?
It is necessary to display the time every 0.5 seconds.
Can you humanly explain how to work with this call, what exactly the 2nd and 3rd arguments of the function mean and how to fill them in to solve my problem?
int setitimer(int which, const struct itimerval *value, struct itimerval *ovalue);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question