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