mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-24 07:26:51 +03:00
An operating function
include/ent | ||
.gitignore | ||
ent.c | ||
LICENSE | ||
meson.build | ||
README.md | ||
sample.c |
libent is a cross-platform wrapper around getentropy(2)
. It exports
one symbol, ent_getentropy
, which expands to getentropy
if the
latter is available. Otherwise, it tries to use the next best source of
entropy -- /dev/urandom on *nix, BCryptGenRandom on Windows.
References: