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