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