Mail Archives: djgpp/1997/06/05/20:28:10
Has anybody noticed that rawclock() does not do the right thing? Docs say it
returns timer ticks since midnight. Actually it returns timer ticks since
first called. This makes it redundant, since that's basically what clock()
does. Also, you can't use it for srandom(). I realize time(NULL) does
approximately the same thing, but rawclock ought to do *something* useful.
I have a patch to make it do the right thing if anybody is interested.
--Nate <eldredge AT ap DOT net>
- Raw text -