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