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