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