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