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