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