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