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