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