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