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