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