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