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