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