home *** CD-ROM | disk | FTP | other *** search
- /*
- * Name: MicroEmacs
- * AmigaDOS sleep function
- * Version: 31
- * Last Edit: 18-Apr-86
- * Created: 18-Apr-86 ...!ihnp4!seismo!ut-sally!ut-ngp!mic
- */
-
- #include <exec/types.h>
- #include <functions.h>
- #include <libraries/dos.h>
- #include "sysdef.h"
- #include "localproto.h"
-
-
- extern long Delay();
-
- void
- sleep(n)
- int n;
- {
- if (n > 0)
- Delay((long) n * TICKS_PER_SECOND);
- }
-