I've been coding some simple things such as printing statements but I wanted to have my processor sleeping to not have too many printing statements at the same time. I've used the library unistd.h and used the function sleep(). The problem I have encountered is that when I ask the sleep function to sleep less then one second like 0.9 is printing the same quantity of statements as if I wasn't using the function sleep() at all. It's working fine if I make it sleep more than one second but I don't want one second of sleep, I want less.
Tank you kindly for reading and/or helping.