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