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