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