delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/17/09:16:13

Date: Wed, 17 Feb 1999 16:13:01 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Bernd König <koenig AT physik DOT uni-wuerzburg DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: need a sleep-routine
In-Reply-To: <36cab232.0@uni-wuerzburg.de>
Message-ID: <Pine.SUN.3.91.990217160745.17443D-100000@is>
MIME-Version: 1.0
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id JAA32230
Reply-To: djgpp AT delorie DOT com

On Wed, 17 Feb 1999, Bernd König wrote:

> i need a routine that waits a certain amount of milliseconds. I know the
> _sleep and _sleep2 functions for emx but can not find something similar for
> djgpp.

It's called `usleep', and accepts arguments in microseconds.  The 
accuracy is, of course, 55 msec, since it uses the system timer.

Btw, you should be able to find the answer for such questions by simply 
searching the on-line library reference. 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019