/* << High C V1.4 >> **********************************************************
**
**	WAITﾙｰﾁﾝ
**
**	1990.02.07 : CREATE
**	1990.02.07 : FINISH
**
**	< History >
**	1990.02.07 : CREATE
**
**	< note > : TABS = 4
**
**	Programmed by Y.Hirata ( Nifty ID : NAB03321 )
**
******************************************************************************/

#include <time.h>

/********************************  時間待ち  *********************************/
void wait( int sec )
/*=============================================================================
**	指定された秒数の間停止する.
**
**	< INPUT  > : 時間[秒単位]
**	< OUTPUT > : なし
**	< RETURN > : なし
=============================================================================*/
{
	clock_t st=clock() ;

	while ( (int)((clock()-st)/CLK_TCK) < sec ) ;
}

