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