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