sleep(3) Library Functions Manual sleep(3) sleep - LIBRARY Standard C library (libc, -lc) #include unsigned int sleep(unsigned int seconds); sleep() seconds , . , , , , . attributes(7). +----------------------------+----------------------------------------------------------+-----------------------------+ | | | | +----------------------------+----------------------------------------------------------+-----------------------------+ |sleep() | | MT-Unsafe sig:SIGCHLD/linux | +----------------------------+----------------------------------------------------------+-----------------------------+ Linux sleep() nanosleep(2). nanosleep(2). sleep() alarm(2) SIGALRM (POSIX.1 ); alarm(2) sleep(). POSIX.1-2008. POSIX.1-2001. CAVEATS longjmp(3) SIGALRM . sleep(1), alarm(2), nanosleep(2), signal(2), signal(7) Alexander Golubev , Azamat Hackimov , Hotellook, Nikita , Spiros Georgaras , Vladislav , Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , <>. Linux man-pages 6.8 2 2024 . sleep(3)