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