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