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