Copyright © tutorialspoint.com
Syntax
Definition and UsagePauses the script for EXPR seconds, or forever if EXPR is not specified. Returns the number of seconds actually slept. Can be interrupted by a signal handler, but you should avoid using sleep with alarm, since many systems use alarm for the sleep implementation. Return Value
ExampleTry out following example: You will understand the functionality of sleep.
|
Copyright © tutorialspoint.com