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