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