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