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