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