ref: 1a02ec3b5c4f3cb41c7a5b377c5fffa0a415e3b7 dir: /libc/genrandom.c/
#include <u.h> #include <libc.h> #undef long #undef ulong #include <unistd.h> void genrandom(uchar *buf, int nbytes) { getentropy(buf, nbytes); }