ref: bd1b52eea09d6ae1077bdee09005822cefc16330 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); }