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