Description
The sleep function delays the
execution of the calling thread by at least the given
number of seconds.
Returns
The sleep function returns zero
if successful, or -1 in the event of an error.
Implementation Notes
On 16-bit targets the maximum sleep time is 32767
seconds, or approximately 9 hours.
|
32-bit targets use a 31-bit signed value for sleep
time.
|