delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/31/18:32:35

To: djgpp AT delorie DOT com
Subject: rawclock() not working right?
Message-ID: <19970331.170447.12510.0.john.k.murphy@juno.com>
From: john DOT k DOT murphy AT juno DOT com (John K Murphy)
Date: Mon, 31 Mar 1997 18:10:11 EST

I was looking for something to seed the random # generator, and
rawclock() looked like a good choice, since it is supposed to give the
number of clock_ticks since midnight.  I tested it, and found out
rawclock() gives the number of something (clock_tics?) since it's first
call, which always returns 0.  Is this a bug in DGJPP or a mistake in the
documentation... or does it work correctly on anybody's computer?

-john

- Raw text -


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