ref: 9f65f57c73f7c9d80a89ad43195ae4c2fcf9ffbe dir: /libc/rand.c/
#include <u.h> #include <libc.h> int rand(void) { return lrand() & 0x7fff; }