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