1 /* $Id: sleep.c,v 1.1.1.1 2000/06/27 01:48:01 amura Exp $ */
2 /*
3  * Name:	MicroEmacs
4  *		AmigaDOS sleep function
5  * Version:	31
6  * Last Edit:	18-Apr-86
7  * Created:	18-Apr-86 ...!ihnp4!seismo!ut-sally!ut-ngp!mic
8  */
9 
10 /*
11  * $Log: sleep.c,v $
12  * Revision 1.1.1.1  2000/06/27 01:48:01  amura
13  * import to CVS
14  *
15  */
16 
17 #include	"config.h"	/* Dec. 15, 1992 by H.Ohkubo */
18 
19 /* There are really 60 ticks/second, but I don't want to wait that 	*/
20 /* long when matching parentheses... */
21 #define	TICKS	45
22 extern	long Delay();
23 
24 #ifdef	SUPPORT_ANSI
25 void
26 #endif
sleep(n)27 sleep(n)
28 int n;
29 {
30 	if (n > 0)
31 		Delay((long) n * TICKS);
32 }
33