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