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