getrandom syscall in C not found

getrandom and getentropy were added to glibc in version 2.25. As of July 2017, most Linux distributions have not yet updated to this version (e.g. Debian’s most recent release, which just came out, has 2.24) but they should soon. Here is how to use the glibc wrappers if available and fall back to the raw … Read more