th***********@gmx.at writes:
There is no wait_milliseconds() or wait_mycroseconds() function
in the C library or under UNIX/Linux. Windows has the Sleep()
function to wait for milliseconds, but it is not very precise.
There is no wait function of any kind in standard C. UNIX/Linux
solutions can be discussed in comp.unix.programmer; Windows solutions
can be discussed in a Windows group, perhaps
comp.os.ms-windows.programmer.win32. Both of those groups are full of
experts who know far more about these solutions than we do here. (In
some cases, they may be the same people.)
The C FAQ covers this issue in question 19.37, including pointers to
system-specific functions that the OP can investigate further.
Going into a lot of detail about system-specific features is generally
discouraged here, for a number of reasons that I won't go into.
Finally, it's important to provide some context when you post a
followup. Please read <http://cfaj.freeshell.org/google/>.
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.