From: Damian Yerrick Newsgroups: comp.os.msdos.programmer,comp.os.msdos.djgpp Subject: Uptime and entropy in DOS Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 10 X-Trace: /wq5/eDKkOAS0ZRMaKgX5Q1HzoWCw5lDP/qUn2H2gBixMnao0mpq+ytII3+6SL6EAuASSrJF03K4!tcHdGVxJUiz3V1eZE6gNufufx2WW90+I2CzBj82/XGTe1hsNsn8+7ScclisD6nDU+SbW8GJKHxUm!SQ9VQTg= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Thu, 10 Feb 2000 21:25:02 GMT Distribution: world Date: Thu, 10 Feb 2000 21:25:02 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Is it possible to get the uptime of a DOS system? I need more entropy than the 32 bits I get from time(NULL) to initialize a pseudorandom number generator. Is there a predictable way to get at least 64 bits of entropy? -- Damian Yerrick http://yerricde.tripod.com/ Comment on story ideas: http://home1.gte.net/frodo/quickjot.html AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ View full sig: http://www.rose-hulman.edu/~yerricde/sig.html