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