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