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