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