Seth Woolley's Man Viewer

Manual for sleep - man 3 sleep

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

SLEEP(3)                   Linux Programmer's Manual                  SLEEP(3)



NAME
       sleep(1,3) - Sleep for the specified number of seconds

SYNOPSIS
       #include <unistd.h>

       unsigned int sleep(1,3)(unsigned int seconds);

DESCRIPTION
       sleep(1,3)()  makes  the  current  process  sleep(1,3) until seconds seconds have
       elapsed or a signal(2,7) arrives which is not ignored.

RETURN VALUE
       Zero if(3,n) the requested time(1,2,n) has elapsed, or the number of  seconds  left
       to sleep.

CONFORMING TO
       POSIX.1

BUGS
       sleep(1,3)()  may  be implemented using SIGALRM; mixing calls to alarm(1,2)() and
       sleep(1,3)() is a bad idea.

       Using longjmp() from a signal(2,7) handler  or  modifying  the  handling  of
       SIGALRM while sleeping will cause undefined results.

SEE ALSO
       alarm(1,2)(2), signal(2,7)(2)



GNU                               1993-04-07                          SLEEP(3)

References for this manual (incoming links)

/man.cgi/3/sleep
2:http://www.pcinpact.com/forum/lofiversion/index.php...
Forum PC INpact &gt; Temporisation