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