Mail Archives: djgpp/1997/03/31/22:08:11
> 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?
It's probably a documentation bug. The other two *clock() functions
(clock and uclock) return zero the first time you call them, and
they're not documented otherwise.
- Raw text -