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