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