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