add getentropy function
based loosely on patch by Hauke Mehrtens; converted to wrap the public API of the underlying getrandom function rather than direct syscalls, so that if/when a fallback implementation of getrandom is added it will automatically get picked up by getentropy too.
Showing
src/misc/getentropy.c
0 → 100644
想要评论请 注册 或 登录