> Thanks Guenter but now I get the message:
> implicit declaration of function 'int _sleep(...)'
> instead of the previous:
> implicit declaration of function 'int sleep(...)'
if you are looking for definitions it's always a good idea to search for t=
he function name in the include dir; _sleep is defined in stdlib.h; but pl=
ease read also the comments before the definition of _sleep...
From: Oscar Fuentes <ofv@wa...> - 2002-05-01 01:32:32
G=FCnter Knauf <eflash@...> writes:
> Hi Oscar,
> > __sleep(10); // Waits idle 10 seconds
> > }
> I think this will only wait for 10 milliseconds...
You are right. I thought that the funtion was the equivalent of the
Unix 'sleep', which works with seconds. Moreover, the Borland '_sleep'
declared in <dos.h> uses seconds. Sigh.
Thanks for the correction.