ref: 3b85c767fec3d7c9852f2e86afc89554bfabd02d
dir: /libsec/fastrand.c/
#include "os.h" #include <libsec.h> /* * use the X917 random number generator to create random * numbers (faster than truerand() but not as random). */ ulong fastrand(void) { ulong x; genrandom((uchar*)&x, sizeof x); return x; }