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