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