Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/sleep.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/sleep.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/sleep.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/sleep.html on line 8

sleep

Suspend execution for an interval (POSIX)

Syntax:

sleep time

Runs on:

QNX Neutrino, Linux, Microsoft Windows

Options:

time
A nonnegative decimal integer, from 0 to 4294967295, specifying the number of seconds to suspend execution.

Description:

The sleep utility suspends execution for at least the integral number of seconds specified by the time operand.

Exit status:

0
The execution was successfully suspended for at least time seconds, or a SIGALRM signal was received.
>0
An error occurred.

Caveats:

The sleep utility takes the default action for all signals, except that sleep terminates normally with a zero exit status on receipt of a SIGALRM signal.

See also:

sh


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/sleep.html on line 100

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/sleep.html on line 100