ref: 419d4d410ca3387c24d45c16e5697d66a785d079
dir: /sys/src/libsec/port/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;
}