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