NAME clock_nanosleep - high-resolution sleep with specifiable clock LIBRARY Standard C library ( libc ... clock_nanosleep () allows the calling thread to sleep for an interval spec…NAME nanosleep - high-resolution sleep LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include int nanosleep ... range [0, 999999999]. Compared to sleep (3) and usleep (3), n…those cases where the calling thread would sleep, the duration of that sleep is limited ... passed in the timeout argument. (This sleep interval will be rounded up to the systemthose cases where the calling thread would sleep, the duration of that sleep is limited ... passed in the timeout argument. (This sleep interval will be rounded up to the systemwith the expected value, and starting to sleep are performed atomically and totally ordered with ... futex word. If the thread starts to sleep, it is considered a waiter on thisinherited by children created via fork (2). sleep (3) may be implemented using SIGALRM ; mixing ... calls to alarm () and sleep (3) is a bad idea. Scheduling delays can, as everprogram below takes two arguments: a sleep period in seconds, and a timer frequency ... NULL) == -1) errExit("timer_settime"); /* Sleep for a while; meanwhile, the timer may expire…example, another process might join the namespace. */ sleep(200); return 0; /* Child terminates now */ } #define ... Parent falls through to here */ sleep(1); /* Give child time to…example, another process might join the namespace. */ sleep(200); return 0; /* Child terminates now */ } #define ... Parent falls through to here */ sleep(1); /* Give child time to…example, another process might join the namespace. */ sleep(200); return 0; /* Child terminates now */ } #define ... Parent falls through to here */ sleep(1); /* Give child time to…caller is placed in an uninterruptible sleep state ( TASK_UNINTERRUPTIBLE ) until the reference count ... this manual page. NOTES The uninterruptible sleep that may occur if O_NONB…timeout as a fairly portable way to sleep with subsecond precision. Correspondence between selectsetitimer () and the three interfaces alarm (2), sleep (3), and usleep (3) unspecified. BUGStime and properly puts the process to sleep if there is no activity. UNIX programmerscauses the calling process (or thread) to sleep until a signal is delivered that eithertemporarily blocked inside the kernel (in a sleep state that is interruptible by signalstimeout as a fairly portable way to sleep with subsecond precision. Correspondence between selecttimeout as a fairly portable way to sleep with subsecond precision. Correspondence between selectsetitimer () and the three interfaces alarm (2), sleep (3), and usleep (3) unspecified. BUGSnumber: $ while true; do echo $RANDOM > /dev/udp/127.0.0.1/1234; sleep 0.25; done These datagrams are read