sleep system call in c code example
Example 1: sleep function in c
#include <unistd.h>
unsigned sleep(unsigned seconds);
Example 2: sleep in c
sleep(5); //sleep for 5 secs
#include <unistd.h>
unsigned sleep(unsigned seconds);
sleep(5); //sleep for 5 secs