]> granicus.if.org Git - nethack/commit
read rng seed from random number source device
authorPatric Mueller <bhaak@gmx.net>
Fri, 11 Jan 2019 18:08:22 +0000 (19:08 +0100)
committerPatric Mueller <bhaak@gmx.net>
Mon, 28 Jan 2019 09:01:45 +0000 (10:01 +0100)
commit86d694c61b62750d314c01f57cdb6c3fa0ca0f5c
treef15a7c3f70dd60b36bd317cf9987f153c7ca78f5
parent1083971228f4ab6a77af908652ce50c9337b484b
read rng seed from random number source device

Linux and BSD system have random number source devices that can be used
as source for a unguessable seed source.

Other platforms fall back to generate the seed with gettime().
include/extern.h
include/unixconf.h
src/hacklib.c
src/options.c