]>
git.proxmox.com Git - wasi-libc.git/blob - libc-bottom-half/sources/getentropy.c
6 #error With threads support, getentropy is not intended to be a cancellation point.
9 int __getentropy(void *buffer
, size_t len
) {
15 int r
= __wasi_random_get(buffer
, len
);
24 extern __typeof(__getentropy
) getentropy
__attribute__((weak
, alias("__getentropy")));