Function libc::random [] [src]

pub unsafe extern fn random() -> u64
Unstable (libc)

: use libc from crates.io

Get a pseudorandom integer.

Note that this is full-cycle, so apply a modulo when true equidistribution is needed.