ref: 224feb11f9247b6bb793d89a4d03c4d20650192d
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;
}