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