Skip to main content

LinuxLibcRandom

Type Alias LinuxLibcRandom 

Source
pub type LinuxLibcRandom = BsdRandom;
Expand description

Linux glibc rand()/random() compatibility wrapper.

glibc’s rand() is just random() under the hood, so the Linux userspace generator many programs used before /dev/random, /dev/urandom, and getrandom(2) became the norm is this same Berkeley-derived TYPE_3 engine.

Aliased Type§

pub struct LinuxLibcRandom { /* private fields */ }