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