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