this is a part of my little 'C' program...
printf("Time to sleep for the end of process: %d sec\n", getpid() % 10);
I would like to come down the seconds, without the line on the terminal changes. Like an animation.
How can i do this in 'C'?
Thanks everyone!