delorie.com/archives/browse.cgi | search |
From: | Chris <chrisr AT es DOT co DOT nz> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: timer or wait function |
Date: | Sun, 03 Dec 2000 11:32:14 +1300 |
Organization: | ihug ( New Zealand ) |
Lines: | 16 |
Message-ID: | <3A29786E.5F79A43D@es.co.nz> |
References: | <3A28CE65 DOT 69D56CA4 AT es DOT co DOT nz> <tckh2t4smoc33714a06rfb81c3c3h7qg3u AT 4ax DOT com> |
NNTP-Posting-Host: | p7-max2.dun.ihug.co.nz |
Mime-Version: | 1.0 |
X-Trace: | lust.ihug.co.nz 975796196 13176 203.173.236.71 (2 Dec 2000 22:29:56 GMT) |
X-Complaints-To: | abuse AT ihug DOT co DOT nz |
NNTP-Posting-Date: | Sat, 2 Dec 2000 22:29:56 +0000 (UTC) |
X-Mailer: | Mozilla 4.72 [en] (Win98; I) |
X-Accept-Language: | en |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Ah, good thanks. Thats what I was after. Jason Green wrote: > Chris <chrisr AT es DOT co DOT nz> wrote: > > > I need to implement a wait or pause of a definite duration into one of > > my programs. Using a loop of some sort to create a pause just won't cut > > it as it runs at different speeds on different machine. Anyone know of > > a function and the corresponding header file? > > There are several such functions in the DJGPP library: delay(), > sleep(), usleep() and others. `info libc' for more details. > > Section 22.27 of the FAQ has some useful tips too.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |