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