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