Re: [off topic] A pause in C?
On Tue, 6 Oct 1998, Michael Stone wrote:
> Quoting Michael Beattie (mickyb@es.co.nz):
> > I am after a way to generate a pause of 300ns in a C program I am working
> > on. At the moment, I am using a for loop of about 700000 iterations..
> > works okay, but on a faster system it will die.. (needed to slow down I/O
> > with an interface card)
>
> man nanosleep
>
Great! thanks, I found `sleep`, but that one escaped me..
Michael Beattie (mickyb@es.co.nz)
PGP Key available, reply with "pgpkey" as subject.
-----------------------------------------------------------------------------
CONNECT 300... Connect 300?!?!?! #%^# NO CARRIER
-----------------------------------------------------------------------------
Debian GNU/Linux.... Ooohh You are missing out!
Reply to: