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