Suspends the execution of the current process for at least the number of seconds indicated by its argument.
#include <unistd.h> int sleep (unsigned seconds);
If a SIGALRM signal is generated, but blocked or ignored, the sleep function returns. For all other signals, a blocked or ignored signal does not cause sleep to return.
x | The number of seconds that the process awoke early. |
0 | If the process slept the full number of seconds specified by seconds |