Generates random 32-bit integer seed from /dev/urandom
Seed value
function rng_seed() result (seed)
!+ Generates random 32-bit integer seed from `/dev/urandom`
integer(Int32) :: seed
!+ Seed value
open(89, file="/dev/urandom", access="stream", form="unformatted", action="read", status="old")
read(89) seed
close(89)
seed = abs(seed)
end function rng_seed