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