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