home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff319.lzh
/
CNewsSrc
/
uupc.lzh
/
uupc
/
sleep.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-01-16
|
470b
|
29 lines
/*
* sleep
*
* Amiga Library
*
* $Id: sleep.c,v 1.2 90/01/16 10:27:31 crash Exp Locker: crash $
*/
#ifndef lint
static char RCSid[] = "$Id: sleep.c,v 1.2 90/01/16 10:27:31 crash Exp Locker: crash $";
#endif /* lint */
#ifdef AMIGA
# include <libraries/dos.h>
#endif
void sleep( seconds )
unsigned int seconds;
{
if ( seconds > 0 )
Delay( (long) (seconds * TICKS_PER_SECOND) );
}
void ticks( ticks )
unsigned long ticks;
{
if (ticks > 0) Delay( ticks );
}