ref: 7dee296cc084756f355ea76bc4a7e9fc02c62f26
dir: /sys/src/cmd/unix/drawterm/libsec/fastrand.c/
#include <u.h> #include <libc.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; }