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