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